clang
22.0.0git
lib
StaticAnalyzer
Core
Checker.cpp
Go to the documentation of this file.
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
{}
Checker.h
clang::ento::CheckerBackend::printState
virtual void printState(raw_ostream &Out, ProgramStateRef State, const char *NL, const char *Sep) const
Debug state dump callback, see CheckerManager::runCheckersForPrintState.
Definition
Checker.cpp:22
clang::ento::CheckerBase::getDebugTag
StringRef getDebugTag() const override
Attached to nodes created by this checker class when the ExplodedGraph is dumped for debugging.
Definition
Checker.cpp:20
clang::ento::CheckerFrontend::getName
CheckerNameRef getName() const
Definition
Checker.h:524
clang::ento
Definition
CocoaConventions.h:23
clang::ento::ProgramStateRef
IntrusiveRefCntPtr< const ProgramState > ProgramStateRef
Definition
ProgramState_Fwd.h:37
clang
The JSON file list parser is used to communicate input to InstallAPI.
Definition
CalledOnceCheck.h:17
clang::ento::ImplicitNullDerefEvent::Tag
static int Tag
Definition
Checker.h:622
Generated on
for clang by
1.14.0