[PATCH] D30567: [clang-tidy] Fix treating non-space whitespaces in checks list.

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 22 07:53:33 PDT 2017


alexfh added inline comments.


================
Comment at: clang-tidy/ClangTidyDiagnosticConsumer.cpp:133
+  StringRef UntrimmedGlob = GlobList.substr(0, GlobList.find(','));
+  StringRef Glob = UntrimmedGlob.trim();
+  GlobList = GlobList.substr(UntrimmedGlob.size() + 1);
----------------
s/trim()/trim(' ')/


https://reviews.llvm.org/D30567





More information about the cfe-commits mailing list