[PATCH] D56856: [tooling] Add a new argument adjuster for deleting plugin related command line args
Ilya Biryukov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 17 08:48:08 PST 2019
ilya-biryukov added inline comments.
================
Comment at: include/clang/Tooling/ArgumentsAdjusters.h:69
+/// Gets an argument adjuster which strips plugin related command line
+/// arguments.
----------------
Maybe put the function before `combineAdjusters`?
The latter is a function that works on two adjusters, therefore a bit different from the rest, which are adjusters themselves.
================
Comment at: include/clang/Tooling/ArgumentsAdjusters.h:71
+/// arguments.
+ArgumentsAdjuster getClangStripPluginsAdjuster();
+
----------------
Maybe drop "clang" from the name? `getStripPluginsAdjuster()?
================
Comment at: lib/Tooling/ArgumentsAdjusters.cpp:111
+// Strips plugin related command line arguments.
+ArgumentsAdjuster getClangStripPluginsAdjuster() {
----------------
remove the comment? we already have one in the header
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56856/new/
https://reviews.llvm.org/D56856
More information about the cfe-commits
mailing list