[PATCH] Add support for profiling the matchers used.

Alexander Kornienko alexfh at google.com
Wed Oct 22 11:52:32 PDT 2014


This is even better. One nit below.

================
Comment at: include/clang/ASTMatchers/ASTMatchFinder.h:134
@@ +133,3 @@
+    /// It prints a report after match.
+    std::unique_ptr<ProfileChecks> EnableCheckProfiling;
+  };
----------------
Maybe just "CheckProfiling"? "Enable" hints that this is a bool, but it's not (though is used as a bool in some places).

http://reviews.llvm.org/D5911






More information about the cfe-commits mailing list