[PATCH] D14192: Add ExtraArgs and ExtraArgsBefore options to enable clang warnings via configuration files.
Daniel Jasper via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 4 17:24:49 PST 2015
djasper added a subscriber: djasper.
================
Comment at: clang-tidy/ClangTidy.cpp:46
@@ +45,3 @@
+
+#include "llvm/ADT/StringExtras.h"
+
----------------
This doesn't seem to be the right place for this #include.
================
Comment at: clang-tidy/ClangTidyOptions.h:89-93
@@ -86,1 +88,7 @@
+
+ /// \brief Add extra compilation arguments to the end of the list.
+ llvm::Optional<ArgList> ExtraArgs;
+
+ /// \brief Add extra compilation arguments to the start of the list.
+ llvm::Optional<ArgList> ExtraArgsBefore;
};
----------------
Are we sure we are going to need both? Maybe for now only add the one you are actually using (and testing)?
http://reviews.llvm.org/D14192
More information about the cfe-commits
mailing list