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
15using namespace clang;
16using namespace ento;
17
18int ImplicitNullDerefEvent::Tag;
19
20StringRef CheckerBase::getDebugTag() const { return getName(); }
21
22void CheckerBackend::printState(raw_ostream &Out, ProgramStateRef State,
23 const char *NL, const char *Sep) const {}
24

Provided by KDAB

Privacy Policy
Improve your Profiling and Debugging skills
Find out more

source code of clang/lib/StaticAnalyzer/Core/Checker.cpp