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.cpp1501 FunctionDecl *OperatorNew = nullptr; in BuildCXXNew() local
1509 OperatorNew, OperatorDelete)) in BuildCXXNew()
1520 if (OperatorNew) { in BuildCXXNew()
1522 OperatorNew->getType()->getAs<FunctionProtoType>(); in BuildCXXNew()
1529 if (GatherArgumentsForCall(PlacementLParen, OperatorNew, Proto, 1, in BuildCXXNew()
1537 DiagnoseSentinelCalls(OperatorNew, PlacementLParen, PlacementArgs); in BuildCXXNew()
1544 if (PlacementArgs.empty() && OperatorNew && in BuildCXXNew()
1545 (OperatorNew->isImplicit() || in BuildCXXNew()
1546 getSourceManager().isInSystemHeader(OperatorNew->getLocStart()))) { in BuildCXXNew()
1619 if (OperatorNew) { in BuildCXXNew()
[all …]
DTreeTransform.h8475 FunctionDecl *OperatorNew = nullptr; in TransformCXXNewExpr() local
8477 OperatorNew = cast_or_null<FunctionDecl>( in TransformCXXNewExpr()
8480 if (!OperatorNew) in TransformCXXNewExpr()
8497 OperatorNew == E->getOperatorNew() && in TransformCXXNewExpr()
8502 if (OperatorNew) in TransformCXXNewExpr()
8503 SemaRef.MarkFunctionReferenced(E->getLocStart(), OperatorNew); in TransformCXXNewExpr()
/external/clang/test/Analysis/
Dinline.cpp305 namespace OperatorNew { namespace
/external/clang/include/clang/AST/
DExprCXX.h1625 FunctionDecl *OperatorNew; variable
1705 FunctionDecl *getOperatorNew() const { return OperatorNew; } in getOperatorNew()
1706 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.h4425 FunctionDecl *&OperatorNew,