Home
last modified time | relevance | path

Searched refs:Destructor (Results 1 – 25 of 45) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DVirtualClassDestructorCheck.cpp27 const CXXDestructorDecl *Destructor = Node.getDestructor(); in AST_MATCHER() local
28 if (!Destructor) in AST_MATCHER()
32 Destructor->isVirtual()) || in AST_MATCHER()
34 !Destructor->isVirtual())); in AST_MATCHER()
51 getVirtualKeywordRange(const CXXDestructorDecl &Destructor, in getVirtualKeywordRange() argument
53 if (Destructor.getLocation().isMacroID()) in getVirtualKeywordRange()
56 SourceLocation VirtualBeginLoc = Destructor.getBeginLoc(); in getVirtualKeywordRange()
58 SM.getSpellingLoc(Destructor.getBeginLoc()); in getVirtualKeywordRange()
118 Destructor.print(DestructorStream); in getSourceText()
151 if (Destructor.isExplicitlyDefaulted()) in changePrivateDestructorVisibilityTo()
[all …]
H A DSpecialMemberFunctionsCheck.cpp57 case SpecialMemberFunctionsCheck::SpecialMemberFunctionKind::Destructor: in toString()
177 MissingMembers.push_back(SpecialMemberFunctionKind::Destructor); in checkForMissingMembers()
H A DSpecialMemberFunctionsCheck.h39 Destructor, enumerator
/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/
H A DOrcTestCommon.h105 DestructorFunction Destructor = DestructorFunction())
109 Destructor(std::move(Destructor)) {} in MaterializationUnit()
112 if (Destructor) in ~SimpleMaterializationUnit()
113 Destructor(); in ~SimpleMaterializationUnit()
134 DestructorFunction Destructor; variable
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Danonymous-struct.cpp141 struct Destructor { struct
142 ~Destructor() {} in ~Destructor() argument
148 Destructor x;
/llvm-project-15.0.7/clang/include/clang/Analysis/
H A DAnyCall.h39 Destructor, enumerator
93 AnyCall(const CXXDestructorDecl *D) : E(nullptr), D(D), K(Destructor) {} in AnyCall()
103 K = Destructor; in AnyCall()
178 case Destructor: in getReturnType()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DQualityTests.cpp225 Destructor, Operator; in TEST() local
230 Destructor.Category = SymbolQualitySignals::Destructor; in TEST()
231 Destructor.Category = SymbolQualitySignals::Destructor; in TEST()
239 EXPECT_LT(Destructor.evaluateHeuristics(), Constructor.evaluateHeuristics()); in TEST()
457 EXPECT_EQ(DtorQ.Category, SymbolQualitySignals::Destructor); in TEST()
/llvm-project-15.0.7/llvm/test/Feature/
H A Dmemorymarkers.ll31 ;; Destructor is run here.
33 ;; Destructor is done here.
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dpredefined-expr.cpp273 class Destructor { class
275 ~Destructor() { in ~Destructor()
499 NS::Destructor destructor; in main()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DQuality.cpp71 MAP(CXXDestructorDecl, Destructor); in categorize()
136 case index::SymbolKind::Destructor: in categorize()
137 return SymbolQualitySignals::Destructor; in categorize()
234 case Destructor: in evaluateHeuristics()
H A DQuality.h69 Destructor, enumerator
/llvm-project-15.0.7/clang/include/clang/Index/
H A DIndexSymbol.h52 Destructor, enumerator
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexSymbol.cpp266 Info.Kind = SymbolKind::Destructor; in getSymbolInfo()
296 Info.Kind = SymbolKind::Destructor; in getSymbolInfo()
533 case SymbolKind::Destructor: return "destructor"; in getSymbolKindString()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DExecutionUtils.cpp176 int LocalCXXRuntimeOverridesBase::CXAAtExitOverride(DestructorPtr Destructor, in CXAAtExitOverride() argument
181 CXXDestructorDataPairs.push_back(std::make_pair(Destructor, Arg)); in CXAAtExitOverride()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclCXX.cpp10553 if (!Destructor->getOperatorDelete() && Destructor->isVirtual()) { in CheckDestructor()
10556 if (!Destructor->isImplicit()) in CheckDestructor()
13723 Destructor->setAccess(AS_public); in DeclareImplicitDestructor()
13724 Destructor->setDefaulted(); in DeclareImplicitDestructor()
13756 ClassDecl->addDecl(Destructor); in DeclareImplicitDestructor()
13758 return Destructor; in DeclareImplicitDestructor()
13767 if (Destructor->willHaveBody() || Destructor->isInvalidDecl()) in DefineImplicitDestructor()
13788 Destructor->setInvalidDecl(); in DefineImplicitDestructor()
13796 Destructor->markUsed(Context); in DefineImplicitDestructor()
13805 if (Destructor->isInvalidDecl()) in CheckCompleteDestructorVariant()
[all …]
H A DSemaExprCXX.cpp1008 MarkFunctionReferenced(E->getExprLoc(), Destructor); in CheckCXXThrowOperand()
1009 CheckDestructorAccess(E->getExprLoc(), Destructor, in CheckCXXThrowOperand()
1011 if (DiagnoseUseOfDecl(Destructor, E->getExprLoc())) in CheckCXXThrowOperand()
5101 if (!Destructor) in EvaluateUnaryTypeTrait()
5106 if (Destructor->isDeleted()) in EvaluateUnaryTypeTrait()
5256 return Destructor->isVirtual(); in EvaluateUnaryTypeTrait()
7268 if (Destructor) { in MaybeBindToTemporary()
7270 CheckDestructorAccess(E->getExprLoc(), Destructor, in MaybeBindToTemporary()
7273 if (DiagnoseUseOfDecl(Destructor, E->getExprLoc())) in MaybeBindToTemporary()
7277 if (Destructor->isTrivial()) in MaybeBindToTemporary()
[all …]
/llvm-project-15.0.7/clang/test/AST/
H A Dast-dump-decl.mm40 // CHECK-NEXT: Destructor
/llvm-project-15.0.7/clang/test/CodeGenObjCXX/
H A Dobjc-weak.mm63 // Destructor
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/
H A DExecutionUtils.h186 static int CXAAtExitOverride(DestructorPtr Destructor, void *Arg,
/llvm-project-15.0.7/clang/docs/
H A DLibASTImporter.rst153 `-Destructor simple irrelevant trivial needs_implicit
180 | `-Destructor simple irrelevant trivial needs_implicit
364 | | | `-Destructor simple irrelevant trivial needs_implicit
374 | `-Destructor simple irrelevant trivial needs_implicit
490 | `-Destructor simple irrelevant trivial needs_implicit
H A DClangOffloadWrapper.rst196 Global Constructor and Destructor
/llvm-project-15.0.7/clang/test/Misc/
H A Dpragma-attribute-supported-attributes-list.test59 // CHECK-NEXT: Destructor (SubjectMatchRule_function)
/llvm-project-15.0.7/clang/unittests/Index/
H A DIndexTests.cpp323 AllOf(QName("Foo::~Foo"), Kind(SymbolKind::Destructor), in TEST()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DYAMLSerialization.cpp239 DEFINE_ENUM(Destructor); in enumeration()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DExprCXX.h1382 const CXXDestructorDecl *Destructor; variable
1385 : Destructor(destructor) {} in CXXTemporary()
1389 const CXXDestructorDecl *Destructor);
1391 const CXXDestructorDecl *getDestructor() const { return Destructor; } in getDestructor()
1394 Destructor = Dtor; in setDestructor()

12