clang  14.0.0git
Namespaces | Functions
OSObjectCStyleCast.cpp File Reference
#include "clang/StaticAnalyzer/Checkers/BuiltinCheckerRegistration.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/StaticAnalyzer/Core/BugReporter/BugReporter.h"
#include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
#include "clang/StaticAnalyzer/Core/Checker.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h"
#include "llvm/Support/Debug.h"
Include dependency graph for OSObjectCStyleCast.cpp:

Go to the source code of this file.

Namespaces

 clang
 
 clang::ast_matchers
 

Functions

 clang::ast_matchers::AST_MATCHER_P (StringLiteral, mentionsBoundType, std::string, BindingID)
 
static void emitDiagnostics (const BoundNodes &Nodes, BugReporter &BR, AnalysisDeclContext *ADC, const OSObjectCStyleCastChecker *Checker)
 
static decltype(auto) hasTypePointingTo (DeclarationMatcher DeclM)
 

Function Documentation

◆ emitDiagnostics()

static void emitDiagnostics ( const BoundNodes Nodes,
BugReporter &  BR,
AnalysisDeclContext ADC,
const OSObjectCStyleCastChecker *  Checker 
)
static

◆ hasTypePointingTo()

static decltype(auto) hasTypePointingTo ( DeclarationMatcher  DeclM)
static