Source code

Revision control

Other Tools

1
/* This Source Code Form is subject to the terms of the Mozilla Public
2
* License, v. 2.0. If a copy of the MPL was not distributed with this
3
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5
#include "DiagnosticsMatcher.h"
6
7
DiagnosticsMatcher::DiagnosticsMatcher(CompilerInstance &CI) {
8
#define CHECK(cls, name) \
9
cls##_.registerMatchers(&AstMatcher); \
10
cls##_.registerPPCallbacks(CI);
11
#include "Checks.inc"
12
#undef CHECK
13
}