| 1 | //== Checker.cpp - Registration mechanism for checkers -----------*- C++ -*--=// |
| 2 | // |
| 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | // See https://llvm.org/LICENSE.txt for license information. |
| 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | // |
| 9 | // This file defines Checker, used to create and register checkers. |
| 10 | // |
| 11 | //===----------------------------------------------------------------------===// |
| 12 | |
| 13 | #include "clang/StaticAnalyzer/Core/Checker.h" |
| 14 | |
| 15 | using namespace clang; |
| 16 | using namespace ento; |
| 17 | |
| 18 | int ImplicitNullDerefEvent::Tag; |
| 19 | |
| 20 | StringRef CheckerBase::getDebugTag() const { return getName(); } |
| 21 | |
| 22 | void CheckerBackend::printState(raw_ostream &Out, ProgramStateRef State, |
| 23 | const char *NL, const char *Sep) const {} |
| 24 | |