[PATCH] D81958: [clangd] Add library to semantically strip flags by name.
Yuanfang Chen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 1 20:40:48 PST 2020
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
More information about the cfe-commits
mailing list