Home
last modified time | relevance | path

Searched refs:ConstructionContext (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DConstructionContext.h243 class ConstructionContext {
272 explicit ConstructionContext(Kind K) : K(K) {} in ConstructionContext() function
285 static const ConstructionContext *createMaterializedTemporaryFromLayers(
294 static const ConstructionContext *
303 static const ConstructionContext *
312 virtual ~ConstructionContext() = default;
316 class VariableConstructionContext : public ConstructionContext {
320 VariableConstructionContext(ConstructionContext::Kind K, const DeclStmt *DS) in VariableConstructionContext()
321 : ConstructionContext(K), DS(DS) { in VariableConstructionContext()
335 static bool classof(const ConstructionContext *CC) { in classof()
[all …]
H A DCFG.h160 const ConstructionContext *C) in CFGConstructor()
163 Data2.setPointer(const_cast<ConstructionContext *>(C)); in CFGConstructor()
166 const ConstructionContext *getConstructionContext() const { in getConstructionContext()
167 return static_cast<ConstructionContext *>(Data2.getPointer()); in getConstructionContext()
199 explicit CFGCXXRecordTypedCall(const Expr *E, const ConstructionContext *C) in CFGCXXRecordTypedCall()
209 Data2.setPointer(const_cast<ConstructionContext *>(C)); in CFGCXXRecordTypedCall()
212 const ConstructionContext *getConstructionContext() const { in getConstructionContext()
213 return static_cast<ConstructionContext *>(Data2.getPointer()); in getConstructionContext()
1136 void appendConstructor(CXXConstructExpr *CE, const ConstructionContext *CC, in appendConstructor()
1142 const ConstructionContext *CC, in appendCXXRecordTypedCall()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DConstructionContext.cpp44 const ConstructionContext *
45 ConstructionContext::createMaterializedTemporaryFromLayers( in createMaterializedTemporaryFromLayers()
69 const ConstructionContext *ElidedCC = nullptr; in createMaterializedTemporaryFromLayers()
95 const ConstructionContext *ConstructionContext::createBoundTemporaryFromLayers( in createBoundTemporaryFromLayers()
170 const ConstructionContext *ConstructionContext::createFromLayers( in createFromLayers()
H A DCFG.cpp820 const ConstructionContext *retrieveAndCleanupConstructionContext(Expr *E) { in retrieveAndCleanupConstructionContext()
829 return ConstructionContext::createFromLayers(cfg->getBumpVectorContext(), in retrieveAndCleanupConstructionContext()
851 if (const ConstructionContext *CC = in appendConstructor()
865 if (const ConstructionContext *CC = in appendCall()
895 if (const ConstructionContext *CC = in appendObjCMessage()
5779 const ConstructionContext *CC) { in print_construction_context()
5782 case ConstructionContext::SimpleConstructorInitializerKind: { in print_construction_context()
5788 case ConstructionContext::CXX17ElidedCopyConstructorInitializerKind: { in print_construction_context()
5796 case ConstructionContext::SimpleVariableKind: { in print_construction_context()
5801 case ConstructionContext::CXX17ElidedCopyVariableKind: { in print_construction_context()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp133 const LocationContext *LCtx, const ConstructionContext *CC, in computeObjectUnderConstruction()
143 case ConstructionContext::CXX17ElidedCopyVariableKind: in computeObjectUnderConstruction()
144 case ConstructionContext::SimpleVariableKind: { in computeObjectUnderConstruction()
152 case ConstructionContext::CXX17ElidedCopyConstructorInitializerKind: in computeObjectUnderConstruction()
153 case ConstructionContext::SimpleConstructorInitializerKind: { in computeObjectUnderConstruction()
185 case ConstructionContext::NewAllocatedObjectKind: { in computeObjectUnderConstruction()
211 case ConstructionContext::SimpleReturnedValueKind: in computeObjectUnderConstruction()
212 case ConstructionContext::CXX17ElidedCopyReturnedValueKind: { in computeObjectUnderConstruction()
261 case ConstructionContext::ElidedTemporaryObjectKind: { in computeObjectUnderConstruction()
291 case ConstructionContext::SimpleTemporaryObjectKind: { in computeObjectUnderConstruction()
[all …]
H A DExprEngineCallAndReturn.cpp866 const ConstructionContext *CC = CCE ? CCE->getConstructionContext() in mayInlineCallKind()
H A DCallEvent.cpp502 const ConstructionContext *CallEvent::getConstructionContext() const { in getConstructionContext()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h49 class ConstructionContext; variable
736 const ConstructionContext *CC,
747 const ConstructionContext *CC, const EvalCallOptions &CallOpts);
753 const LocationContext *LCtx, const ConstructionContext *CC,
H A DCallEvent.h448 const ConstructionContext *getConstructionContext() const;
/freebsd/lib/clang/libclang/
H A DMakefile178 SRCS_MIN+= Analysis/ConstructionContext.cpp