gecko-dev/build/clang-plugin/DiagnosticsMatcher.cpp
Emilio Cobos Álvarez f8bf50c79e Bug 1434326: Cleanup DiagnosticsMatcher constructor. r=mystor
Removing a bit of the ugly :)

MozReview-Commit-ID: ATf2b2oh1F1

--HG--
extra : rebase_source : da6e36533c2b2ec8820c728953b0c0544c5a085e
2018-01-30 17:40:00 +01:00

14 lines
535 B
C++

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