[PATCH] D18694: [ClangTidy] Add an 'explain-checks' option to diagnose where each checks comes from.

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 19 02:02:52 PDT 2016


hokein marked 5 inline comments as done.

================
Comment at: clang-tidy/ClangTidyOptions.cpp:163
@@ +162,3 @@
+DefaultOptionsProvider::getRawOptions(llvm::StringRef FileName) {
+  std::vector<OptionsSource> Result;
+  Result.emplace_back(DefaultOptions, OptionsSourceTypeDefaultBinary);
----------------
Yeah, you are right. VS2013 doesn't work with vector brace-initialization.


http://reviews.llvm.org/D18694





More information about the cfe-commits mailing list