r229401 - Analyzer: Flatten Checker hierarchy.
Benjamin Kramer
benny.kra at googlemail.com
Mon Feb 16 07:43:06 PST 2015
Author: d0k
Date: Mon Feb 16 09:43:06 2015
New Revision: 229401
URL: http://llvm.org/viewvc/llvm-project?rev=229401&view=rev
Log:
Analyzer: Flatten Checker hierarchy.
We still instantiate all the levels but there's no need to create a vtable for
every level in the hierarchy.
Modified:
cfe/trunk/include/clang/StaticAnalyzer/Core/Checker.h
Modified: cfe/trunk/include/clang/StaticAnalyzer/Core/Checker.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/StaticAnalyzer/Core/Checker.h?rev=229401&r1=229400&r2=229401&view=diff
==============================================================================
--- cfe/trunk/include/clang/StaticAnalyzer/Core/Checker.h (original)
+++ cfe/trunk/include/clang/StaticAnalyzer/Core/Checker.h Mon Feb 16 09:43:06 2015
@@ -473,7 +473,7 @@ public:
};
template <typename CHECK1, typename... CHECKs>
-class Checker : public CHECK1, public Checker<CHECKs...> {
+class Checker : public CHECK1, public CHECKs..., public CheckerBase {
public:
template <typename CHECKER>
static void _register(CHECKER *checker, CheckerManager &mgr) {
More information about the cfe-commits
mailing list