clang 20.0.0git
Public Member Functions | Friends | List of all members
clang::ento::CheckerBase Class Reference

#include "clang/StaticAnalyzer/Core/Checker.h"

Inheritance diagram for clang::ento::CheckerBase:
Inheritance graph
[legend]

Public Member Functions

StringRef getTagDescription () const override
 
CheckerNameRef getCheckerName () const
 
virtual void printState (raw_ostream &Out, ProgramStateRef State, const char *NL, const char *Sep) const
 See CheckerManager::runCheckersForPrintState.
 
- Public Member Functions inherited from clang::ProgramPointTag
 ProgramPointTag (void *tagKind=nullptr)
 
virtual ~ProgramPointTag ()
 
virtual StringRef getTagDescription () const =0
 
const void * getTagKind () const
 Used to implement 'isKind' in subclasses.
 

Friends

class ::clang::ento::CheckerManager
 

Detailed Description

Definition at line 487 of file Checker.h.

Member Function Documentation

◆ getCheckerName()

CheckerNameRef CheckerBase::getCheckerName ( ) const

◆ getTagDescription()

StringRef CheckerBase::getTagDescription ( ) const
overridevirtual

Implements clang::ProgramPointTag.

Definition at line 21 of file Checker.cpp.

References getCheckerName(), and clang::ento::CheckerNameRef::getName().

◆ printState()

virtual void clang::ento::CheckerBase::printState ( raw_ostream &  Out,
ProgramStateRef  State,
const char *  NL,
const char *  Sep 
) const
inlinevirtual

See CheckerManager::runCheckersForPrintState.

Reimplemented in clang::ento::retaincountchecker::RetainCountChecker.

Definition at line 496 of file Checker.h.

Friends And Related Function Documentation

◆ ::clang::ento::CheckerManager

friend class ::clang::ento::CheckerManager
friend

Definition at line 489 of file Checker.h.


The documentation for this class was generated from the following files: