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

An inter-procedural analysis facility that detects functions with "trivial" behavior with respect to reference counting, such as simple field getters. More...

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.h"

Public Member Functions

bool isTrivial (const Decl *D) const
 
bool isTrivial (const Stmt *S) const
 

Friends

class TrivialFunctionAnalysisVisitor
 

Detailed Description

An inter-procedural analysis facility that detects functions with "trivial" behavior with respect to reference counting, such as simple field getters.

Definition at line 75 of file PtrTypesSemantics.h.

Member Function Documentation

◆ isTrivial() [1/2]

bool clang::TrivialFunctionAnalysis::isTrivial ( const Decl D) const
inline
Returns
true if D is a "trivial" function.

Definition at line 78 of file PtrTypesSemantics.h.

References D.

◆ isTrivial() [2/2]

bool clang::TrivialFunctionAnalysis::isTrivial ( const Stmt S) const
inline

Definition at line 79 of file PtrTypesSemantics.h.

Friends And Related Function Documentation

◆ TrivialFunctionAnalysisVisitor

friend class TrivialFunctionAnalysisVisitor
friend

Definition at line 82 of file PtrTypesSemantics.h.


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