Home
last modified time | relevance | path

Searched refs:OperatorNew (Results 1 – 7 of 7) sorted by relevance

/external/clang/test/SemaTemplate/
Ddependent-names.cpp391 namespace OperatorNew { namespace
400 void *operator new(size_t, OperatorNew::X); // expected-note-re {{should be declared prior to the c…
401 template void OperatorNew::f(OperatorNew::X); // expected-note {{instantiation of}}
/external/clang/lib/Sema/
DSemaExprCXX.cpp1509 FunctionDecl *OperatorNew = nullptr; in BuildCXXNew() local
1517 OperatorNew, OperatorDelete)) in BuildCXXNew()
1528 if (OperatorNew) { in BuildCXXNew()
1530 OperatorNew->getType()->getAs<FunctionProtoType>(); in BuildCXXNew()
1537 if (GatherArgumentsForCall(PlacementLParen, OperatorNew, Proto, 1, in BuildCXXNew()
1545 DiagnoseSentinelCalls(OperatorNew, PlacementLParen, PlacementArgs); in BuildCXXNew()
1552 if (PlacementArgs.empty() && OperatorNew && in BuildCXXNew()
1553 (OperatorNew->isImplicit() || in BuildCXXNew()
1554 getSourceManager().isInSystemHeader(OperatorNew->getLocStart()))) { in BuildCXXNew()
1627 if (OperatorNew) { in BuildCXXNew()
[all …]
DTreeTransform.h9146 FunctionDecl *OperatorNew = nullptr; in TransformCXXNewExpr() local
9148 OperatorNew = cast_or_null<FunctionDecl>( in TransformCXXNewExpr()
9151 if (!OperatorNew) in TransformCXXNewExpr()
9168 OperatorNew == E->getOperatorNew() && in TransformCXXNewExpr()
9173 if (OperatorNew) in TransformCXXNewExpr()
9174 SemaRef.MarkFunctionReferenced(E->getLocStart(), OperatorNew); in TransformCXXNewExpr()
/external/clang/test/Analysis/
Dinline.cpp312 namespace OperatorNew { namespace
/external/clang/include/clang/AST/
DExprCXX.h1740 FunctionDecl *OperatorNew; variable
1820 FunctionDecl *getOperatorNew() const { return OperatorNew; } in getOperatorNew()
1821 void setOperatorNew(FunctionDecl *D) { OperatorNew = D; } in setOperatorNew()
/external/clang/lib/AST/
DExprCXX.cpp149 SubExprs(nullptr), OperatorNew(operatorNew), OperatorDelete(operatorDelete), in CXXNewExpr()
/external/clang/include/clang/Sema/
DSema.h4674 FunctionDecl *&OperatorNew,