reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/ASTMatchers/ASTMatchers.h
 1091     cxxDestructorDecl;

References

tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
  177   REGISTER_MATCHER(cxxDestructorDecl);
tools/clang/tools/extra/clang-tidy/bugprone/ExceptionEscapeCheck.cpp
   59       functionDecl(anyOf(isNoThrow(), cxxDestructorDecl(),
tools/clang/tools/extra/clang-tidy/bugprone/VirtualNearMissCheck.cpp
  224                        cxxDestructorDecl(), cxxConversionDecl(), isStatic(),
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/OwningMemoryCheck.cpp
  171           anyOf(unless(has(cxxDestructorDecl())),
  172                 has(cxxDestructorDecl(anyOf(isDefaulted(), isDeleted())))))
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.cpp
   42               has(cxxDestructorDecl(unless(isImplicit())).bind("dtor")),
tools/clang/tools/extra/clang-tidy/modernize/UseEqualsDefaultCheck.cpp
  214   Finder->addMatcher(cxxDestructorDecl(isDefinition()).bind(SpecialFunction),
tools/clang/tools/extra/clang-tidy/modernize/UseEqualsDeleteCheck.cpp
   37             cxxDestructorDecl()));
tools/clang/tools/extra/clang-tidy/modernize/UseNoexceptCheck.cpp
   38                     hasOverloadedOperatorName("delete"), cxxDestructorDecl()))
   48                        cxxDestructorDecl())))
tools/clang/tools/extra/clang-tidy/modernize/UseOverrideCheck.cpp
   39         cxxMethodDecl(isOverride(), unless(cxxDestructorDecl())).bind("method"),
tools/clang/tools/extra/clang-tidy/readability/ConvertMemberFunctionsToStatic.cpp
   81               cxxDestructorDecl(), cxxConversionDecl(), isTemplate(),
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp
  241   Finder->addMatcher(cxxDestructorDecl().bind("classRef"), this);
tools/clang/unittests/AST/ASTImporterTest.cpp
 3061   testImportOf(cxxDestructorDecl());
tools/clang/unittests/AST/DeclPrinterTest.cpp
  621     cxxDestructorDecl(ofClass(hasName("A"))).bind("id"),
  630     cxxDestructorDecl(ofClass(hasName("A"))).bind("id"),
tools/clang/unittests/AST/SourceLocationTest.cpp
  530       Code, friendDecl(has(cxxDestructorDecl(ofClass(hasName("B")))))));
  548       Code, friendDecl(has(cxxDestructorDecl(ofClass(hasName("B")))))));
tools/clang/unittests/AST/StructuralEquivalenceTest.cpp
  256       cxxDestructorDecl());
tools/clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
  996                       cxxDestructorDecl(ofClass(hasName("Foo")))));
 1001                          cxxDestructorDecl(ofClass(hasName("Foo")))));