clang API Documentation
Encapsulates the lexical context of a function call. The lexical context includes the arguments to the call, including the implicit object argument. When an attribute containing a mutex expression is attached to a method, the expression may refer to formal parameters of the method. Actual arguments must be substituted for formal parameters to derive the appropriate mutex expression in the lexical context where the function is called. PrevCtx holds the context in which the arguments themselves should be evaluated; multiple calling contexts can be chained together by the lock_returned attribute. More...
#include <ThreadSafetyCommon.h>
Public Member Functions | |
CallingContext (CallingContext *P, const NamedDecl *D=nullptr) | |
Public Attributes | |
CallingContext * | Prev |
const NamedDecl * | AttrDecl |
const Expr * | SelfArg |
unsigned | NumArgs |
const Expr *const * | FunArgs |
bool | SelfArrow |
Encapsulates the lexical context of a function call. The lexical context includes the arguments to the call, including the implicit object argument. When an attribute containing a mutex expression is attached to a method, the expression may refer to formal parameters of the method. Actual arguments must be substituted for formal parameters to derive the appropriate mutex expression in the lexical context where the function is called. PrevCtx holds the context in which the arguments themselves should be evaluated; multiple calling contexts can be chained together by the lock_returned attribute.
Definition at line 317 of file ThreadSafetyCommon.h.
clang::threadSafety::SExprBuilder::CallingContext::CallingContext | ( | CallingContext * | P, |
const NamedDecl * | D = nullptr |
||
) | [inline] |
Definition at line 325 of file ThreadSafetyCommon.h.
Definition at line 319 of file ThreadSafetyCommon.h.
Definition at line 322 of file ThreadSafetyCommon.h.
Referenced by clang::threadSafety::SExprBuilder::translateAttrExpr().
Definition at line 321 of file ThreadSafetyCommon.h.
Referenced by clang::threadSafety::SExprBuilder::translateAttrExpr().
Definition at line 318 of file ThreadSafetyCommon.h.
Definition at line 320 of file ThreadSafetyCommon.h.
Referenced by clang::threadSafety::SExprBuilder::translateAttrExpr().
Definition at line 323 of file ThreadSafetyCommon.h.
Referenced by clang::threadSafety::SExprBuilder::translateAttrExpr().