clang 24.0.0git
clang::NonTrivialityReason::Frame Struct Reference

One function in the chain of calls that leads from OffendingStmt to the code that could destruct an object. More...

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

Public Attributes

const FunctionDecl * Callee = nullptr
const Stmt * OffendingStmt = nullptr
 The innermost non-trivial statement inside Callee's body.

Detailed Description

One function in the chain of calls that leads from OffendingStmt to the code that could destruct an object.

Definition at line 224 of file PtrTypesSemantics.h.

Member Data Documentation

◆ Callee

const FunctionDecl* clang::NonTrivialityReason::Frame::Callee = nullptr

Definition at line 225 of file PtrTypesSemantics.h.

◆ OffendingStmt

const Stmt* clang::NonTrivialityReason::Frame::OffendingStmt = nullptr

The innermost non-trivial statement inside Callee's body.

Null when Callee has no visible definition, or is rejected without looking at its body, e.g. because it is virtual or takes a parameter by value that could destruct an object.

Definition at line 230 of file PtrTypesSemantics.h.


The documentation for this struct was generated from the following file: