Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp893 void ExprEngine::VisitCXXNewAllocatorCall(const CXXNewExpr *CNE, in VisitCXXNewAllocatorCall() argument
899 CNE->getBeginLoc(), in VisitCXXNewAllocatorCall()
903 CEMgr.getCXXAllocatorCall(CNE, State, LCtx, getCFGElementRef()); in VisitCXXNewAllocatorCall()
932 SVal RetVal = State->getSVal(CNE, LCtx); in VisitCXXNewAllocatorCall()
946 if (const FunctionDecl *FD = CNE->getOperatorNew()) { in VisitCXXNewAllocatorCall()
954 CNE, I, addObjectUnderConstruction(State, CNE, LCtx, RetVal)); in VisitCXXNewAllocatorCall()
965 void ExprEngine::VisitCXXNewExpr(const CXXNewExpr *CNE, ExplodedNode *Pred, in VisitCXXNewExpr() argument
975 FunctionDecl *FD = CNE->getOperatorNew(); in VisitCXXNewExpr()
984 symVal = *getObjectUnderConstruction(State, CNE, LCtx); in VisitCXXNewExpr()
985 State = finishObjectConstruction(State, CNE, LCtx); in VisitCXXNewExpr()
[all …]
H A DExprEngineCallAndReturn.cpp322 if (const auto *CNE = dyn_cast<CXXNewExpr>(CE)) { in processCallExit() local
328 SVal AllocV = state->getSVal(CNE, callerCtx); in processCallExit()
330 AllocV, CNE->getType(), in processCallExit()
333 state = addObjectUnderConstruction(state, CNE, calleeCtx->getParent(), in processCallExit()
797 const auto *CNE = dyn_cast<CXXNewExpr>(E); in bindReturnValue() local
798 if (CNE && CNE->getOperatorNew()->isReplaceableGlobalAllocationFunction()) { in bindReturnValue()
804 if (const Expr *SizeExpr = CNE->getArraySize().value_or(nullptr)) { in bindReturnValue()
810 SVal ElementSize = getElementExtent(CNE->getAllocatedType(), svalBuilder); in bindReturnValue()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h579 void VisitCXXNewAllocatorCall(const CXXNewExpr *CNE,
583 void VisitCXXNewExpr(const CXXNewExpr *CNE, ExplodedNode *Pred,