| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | VirtualClassDestructorCheck.cpp | 27 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 D | SpecialMemberFunctionsCheck.cpp | 57 case SpecialMemberFunctionsCheck::SpecialMemberFunctionKind::Destructor: in toString() 177 MissingMembers.push_back(SpecialMemberFunctionKind::Destructor); in checkForMissingMembers()
|
| H A D | SpecialMemberFunctionsCheck.h | 39 Destructor, enumerator
|
| /llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/ |
| H A D | OrcTestCommon.h | 105 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 D | anonymous-struct.cpp | 141 struct Destructor { struct 142 ~Destructor() {} in ~Destructor() argument 148 Destructor x;
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/ |
| H A D | AnyCall.h | 39 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 D | QualityTests.cpp | 225 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 D | memorymarkers.ll | 31 ;; Destructor is run here. 33 ;; Destructor is done here.
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | predefined-expr.cpp | 273 class Destructor { class 275 ~Destructor() { in ~Destructor() 499 NS::Destructor destructor; in main()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Quality.cpp | 71 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 D | Quality.h | 69 Destructor, enumerator
|
| /llvm-project-15.0.7/clang/include/clang/Index/ |
| H A D | IndexSymbol.h | 52 Destructor, enumerator
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | IndexSymbol.cpp | 266 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 D | ExecutionUtils.cpp | 176 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 D | SemaDeclCXX.cpp | 10553 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 D | SemaExprCXX.cpp | 1008 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 D | ast-dump-decl.mm | 40 // CHECK-NEXT: Destructor
|
| /llvm-project-15.0.7/clang/test/CodeGenObjCXX/ |
| H A D | objc-weak.mm | 63 // Destructor
|
| /llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | ExecutionUtils.h | 186 static int CXAAtExitOverride(DestructorPtr Destructor, void *Arg,
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | LibASTImporter.rst | 153 `-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 D | ClangOffloadWrapper.rst | 196 Global Constructor and Destructor
|
| /llvm-project-15.0.7/clang/test/Misc/ |
| H A D | pragma-attribute-supported-attributes-list.test | 59 // CHECK-NEXT: Destructor (SubjectMatchRule_function)
|
| /llvm-project-15.0.7/clang/unittests/Index/ |
| H A D | IndexTests.cpp | 323 AllOf(QName("Foo::~Foo"), Kind(SymbolKind::Destructor), in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | YAMLSerialization.cpp | 239 DEFINE_ENUM(Destructor); in enumeration()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ExprCXX.h | 1382 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()
|