ychen added inline comments.

================
Comment at: clang-tools-extra/clangd/CompileCommands.cpp:356
+               HELP, METAVAR, VALUES)                                          
\
+  if (DriverID::OPT_##ALIAS != DriverID::OPT_INVALID && ALIASARGS == nullptr)  
\
+    AddAlias(DriverID::OPT_##ID, DriverID::OPT_##ALIAS);                       
\
----------------
This emits a huge number of `-Wtautological-constant-compare` warnings due to 
ALIAS being OPT_INVALID etc. Enclose this with pragma to disable these warnings?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81958/new/

https://reviews.llvm.org/D81958

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to