Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
DExprEngineCXX.cpp918 void ExprEngine::VisitCXXNewAllocatorCall(const CXXNewExpr *CNE, in VisitCXXNewAllocatorCall() argument
924 CNE->getBeginLoc(), in VisitCXXNewAllocatorCall()
928 CEMgr.getCXXAllocatorCall(CNE, State, LCtx); in VisitCXXNewAllocatorCall()
957 SVal RetVal = State->getSVal(CNE, LCtx); in VisitCXXNewAllocatorCall()
971 if (const FunctionDecl *FD = CNE->getOperatorNew()) { in VisitCXXNewAllocatorCall()
979 CNE, I, addObjectUnderConstruction(State, CNE, LCtx, RetVal)); in VisitCXXNewAllocatorCall()
990 void ExprEngine::VisitCXXNewExpr(const CXXNewExpr *CNE, ExplodedNode *Pred, in VisitCXXNewExpr() argument
1000 FunctionDecl *FD = CNE->getOperatorNew(); in VisitCXXNewExpr()
1009 symVal = *getObjectUnderConstruction(State, CNE, LCtx); in VisitCXXNewExpr()
1010 State = finishObjectConstruction(State, CNE, LCtx); in VisitCXXNewExpr()
[all …]
DExprEngineCallAndReturn.cpp327 if (const auto *CNE = dyn_cast<CXXNewExpr>(CE)) { in processCallExit() local
333 SVal AllocV = state->getSVal(CNE, callerCtx); in processCallExit()
335 AllocV, CNE->getType(), in processCallExit()
338 state = addObjectUnderConstruction(state, CNE, calleeCtx->getParent(), in processCallExit()
799 const auto *CNE = dyn_cast<CXXNewExpr>(E); in bindReturnValue() local
800 if (CNE && CNE->getOperatorNew()->isReplaceableGlobalAllocationFunction()) { in bindReturnValue()
806 if (const Expr *SizeExpr = CNE->getArraySize().value_or(nullptr)) { in bindReturnValue()
812 SVal ElementSize = getElementExtent(CNE->getAllocatedType(), svalBuilder); in bindReturnValue()
/openbsd/src/gnu/llvm/llvm/lib/DebugInfo/CodeView/
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()
/openbsd/src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DExprEngine.h575 void VisitCXXNewAllocatorCall(const CXXNewExpr *CNE,
579 void VisitCXXNewExpr(const CXXNewExpr *CNE, ExplodedNode *Pred,