Home
last modified time | relevance | path

Searched refs:OperatorDelete (Results 1 – 12 of 12) sorted by relevance

/external/clang/lib/CodeGen/
DCGExprCXX.cpp1167 const FunctionDecl *OperatorDelete; member in __anonc96606670211::CallDeleteDuringNew
1179 const FunctionDecl *OperatorDelete, in CallDeleteDuringNew() argument
1182 : NumPlacementArgs(NumPlacementArgs), OperatorDelete(OperatorDelete), in CallDeleteDuringNew()
1192 = OperatorDelete->getType()->getAs<FunctionProtoType>(); in Emit()
1211 EmitNewDeleteCall(CGF, OperatorDelete, FPT, DeleteArgs); in Emit()
1220 const FunctionDecl *OperatorDelete; member in __anonc96606670211::CallDeleteDuringConditionalNew
1234 const FunctionDecl *OperatorDelete, in CallDeleteDuringConditionalNew() argument
1237 : NumPlacementArgs(NumPlacementArgs), OperatorDelete(OperatorDelete), in CallDeleteDuringConditionalNew()
1247 = OperatorDelete->getType()->getAs<FunctionProtoType>(); in Emit()
1270 EmitNewDeleteCall(CGF, OperatorDelete, FPT, DeleteArgs); in Emit()
[all …]
DCodeGenFunction.h1267 void pushCallObjectDeleteCleanup(const FunctionDecl *OperatorDelete,
/external/clang/lib/Sema/
DSemaExprCXX.cpp1743 FunctionDecl *OperatorDelete = nullptr; in BuildCXXNew() local
1750 OperatorNew, OperatorDelete)) in BuildCXXNew()
1866 if (OperatorDelete) { in BuildCXXNew()
1867 if (DiagnoseUseOfDecl(OperatorDelete, StartLoc)) in BuildCXXNew()
1869 MarkFunctionReferenced(StartLoc, OperatorDelete); in BuildCXXNew()
1891 CXXNewExpr(Context, UseGlobal, OperatorNew, OperatorDelete, in BuildCXXNew()
1961 FunctionDecl *&OperatorDelete) { in FindAllocationFunctions() argument
2029 OperatorDelete = nullptr; in FindAllocationFunctions()
2152 OperatorDelete = Matches[0].second; in FindAllocationFunctions()
2161 isNonPlacementDeallocationFunction(*this, OperatorDelete)) { in FindAllocationFunctions()
[all …]
DTreeTransform.h9462 FunctionDecl *OperatorDelete = nullptr; in TransformCXXNewExpr() local
9464 OperatorDelete = cast_or_null<FunctionDecl>( in TransformCXXNewExpr()
9467 if (!OperatorDelete) in TransformCXXNewExpr()
9476 OperatorDelete == E->getOperatorDelete() && in TransformCXXNewExpr()
9482 if (OperatorDelete) in TransformCXXNewExpr()
9483 SemaRef.MarkFunctionReferenced(E->getLocStart(), OperatorDelete); in TransformCXXNewExpr()
9545 FunctionDecl *OperatorDelete = nullptr; in TransformCXXDeleteExpr() local
9547 OperatorDelete = cast_or_null<FunctionDecl>( in TransformCXXDeleteExpr()
9550 if (!OperatorDelete) in TransformCXXDeleteExpr()
9556 OperatorDelete == E->getOperatorDelete()) { in TransformCXXDeleteExpr()
[all …]
DSemaDeclCXX.cpp5986 FunctionDecl *OperatorDelete = nullptr; in ShouldDeleteSpecialMember() local
5990 OperatorDelete, false)) { in ShouldDeleteSpecialMember()
6929 FunctionDecl *OperatorDelete = nullptr; in CheckDestructor() local
6932 if (FindDeallocationFunction(Loc, RD, Name, OperatorDelete)) in CheckDestructor()
6936 if (!OperatorDelete) in CheckDestructor()
6937 OperatorDelete = FindUsualDeallocationFunction(Loc, true, Name); in CheckDestructor()
6939 MarkFunctionReferenced(Loc, OperatorDelete); in CheckDestructor()
6941 Destructor->setOperatorDelete(OperatorDelete); in CheckDestructor()
/external/clang/include/clang/AST/
DExprCXX.h1812 FunctionDecl *OperatorDelete; variable
1891 FunctionDecl *getOperatorDelete() const { return OperatorDelete; } in getOperatorDelete()
1892 void setOperatorDelete(FunctionDecl *D) { OperatorDelete = D; } in setOperatorDelete()
2010 FunctionDecl *OperatorDelete; variable
2033 OperatorDelete(operatorDelete), Argument(arg), Loc(loc), in CXXDeleteExpr()
2038 : Expr(CXXDeleteExprClass, Shell), OperatorDelete(nullptr), in CXXDeleteExpr()
2053 FunctionDecl *getOperatorDelete() const { return OperatorDelete; } in getOperatorDelete()
DDeclCXX.h2417 FunctionDecl *OperatorDelete; variable
2425 OperatorDelete(nullptr) { in CXXDestructorDecl()
2440 return cast<CXXDestructorDecl>(getFirstDecl())->OperatorDelete; in getOperatorDelete()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp1799 if (auto *OperatorDelete = ReadDeclAs<FunctionDecl>(Record, Idx)) { in VisitCXXDestructorDecl() local
1802 if (!Canon->OperatorDelete) in VisitCXXDestructorDecl()
1803 Canon->OperatorDelete = OperatorDelete; in VisitCXXDestructorDecl()
3865 if (!First->OperatorDelete) in UpdateDecl()
3866 First->OperatorDelete = Del; in UpdateDecl()
DASTReaderStmt.cpp1430 E->OperatorDelete = ReadDeclAs<FunctionDecl>(Record, Idx); in VisitCXXDeleteExpr()
/external/clang/lib/AST/
DDeclCXX.cpp1975 if (OD && !First->OperatorDelete) { in setOperatorDelete()
1976 First->OperatorDelete = OD; in setOperatorDelete()
DExprCXX.cpp76 SubExprs(nullptr), OperatorNew(operatorNew), OperatorDelete(operatorDelete), in CXXNewExpr()
/external/clang/include/clang/Sema/
DSema.h4790 FunctionDecl *&OperatorDelete);