uabelho added inline comments.

================
Comment at: clang-tools-extra/clangd/CompileCommands.cpp:478
+               HELP, METAVAR, VALUES)                                          
\
+  {DriverID::OPT_##ID, DriverID::OPT_##ALIAS, (void *)ALIASARGS},
+#include "clang/Driver/Options.inc"
----------------
gcc warns about casting away "const" here.
Would it break anything to simply change the type of AliasArgs in the 
AliasTable to "const char *" and skip this void* cast?



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98110

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

Reply via email to