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.

llvm-svn: 229401
This commit is contained in:
Benjamin Kramer 2015-02-16 15:43:06 +00:00
parent f81c3ebeb7
commit 235d1f99aa
1 changed files with 1 additions and 1 deletions

View File

@ -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) {