Home
last modified time | relevance | path

Searched refs:CNE (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp878 CEMgr.getCXXAllocatorCall(CNE, State, LCtx); in VisitCXXNewAllocatorCall()
907 SVal RetVal = State->getSVal(CNE, LCtx); in VisitCXXNewAllocatorCall()
924 CNE, I, addObjectUnderConstruction(State, CNE, LCtx, RetVal)); in VisitCXXNewAllocatorCall()
945 FunctionDecl *FD = CNE->getOperatorNew(); in VisitCXXNewExpr()
965 symVal = svalBuilder.conjureSymbolVal(nullptr, CNE, LCtx, CNE->getType(), in VisitCXXNewExpr()
971 CEMgr.getCXXAllocatorCall(CNE, State, LCtx); in VisitCXXNewExpr()
999 if (CNE->isArray()) { in VisitCXXNewExpr()
1005 auto *Init = CNE->getInitializer(); in VisitCXXNewExpr()
1034 Bldr.generateNode(CNE, Pred, State); in VisitCXXNewExpr()
1050 State = State->BindExpr(CNE, LCtx, Result); in VisitCXXNewExpr()
[all …]
H A DExprEngineCallAndReturn.cpp277 if (const auto *CNE = dyn_cast<CXXNewExpr>(CE)) { in processCallExit() local
283 SVal AllocV = state->getSVal(CNE, callerCtx); in processCallExit()
285 AllocV, CNE->getType(), in processCallExit()
288 state = addObjectUnderConstruction(state, CNE, calleeCtx->getParent(), in processCallExit()
746 const auto *CNE = dyn_cast<CXXNewExpr>(E); in bindReturnValue() local
747 if (CNE && CNE->getOperatorNew()->isReplaceableGlobalAllocationFunction()) { in bindReturnValue()
753 if (const Expr *SizeExpr = CNE->getArraySize().value_or(nullptr)) { in bindReturnValue()
759 SVal ElementSize = getElementExtent(CNE->getAllocatedType(), svalBuilder); in bindReturnValue()
/llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/
H A DDebugLinesSubsection.cpp97 ColumnNumberEntry CNE; in addLineAndColumnInfo() local
98 CNE.StartColumn = ColStart; in addLineAndColumnInfo()
99 CNE.EndColumn = ColEnd; in addLineAndColumnInfo()
100 B.Columns.push_back(CNE); in addLineAndColumnInfo()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h574 void VisitCXXNewAllocatorCall(const CXXNewExpr *CNE,
578 void VisitCXXNewExpr(const CXXNewExpr *CNE, ExplodedNode *Pred,
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DFindTarget.cpp341 void VisitCXXNewExpr(const CXXNewExpr *CNE) { in add()
342 Outer.add(CNE->getOperatorNew(), Flags); in add()