[PATCH] Clang-tidy: don't create ASTConsumers not needed for the set of checks we perform.
Alexander Kornienko
alexfh at google.com
Thu Feb 13 06:21:14 PST 2014
================
Comment at: clang-tidy/ClangTidy.cpp:156
@@ +155,3 @@
+ SmallVector<ASTConsumer *, 2> Consumers;
+ if (CheckFactories->begin() != CheckFactories->end()) {
+ Consumers.push_back(Finder.newASTConsumer());
----------------
Daniel Jasper wrote:
> Remove {}.
Done.
http://llvm-reviews.chandlerc.com/D2763
More information about the cfe-commits
mailing list