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

Declarations

tools/clang/include/clang/ASTMatchers/ASTMatchers.h
 1565 extern const internal::VariadicDynCastAllOfMatcher<Decl, UsingDecl> usingDecl;

References

tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
  518   REGISTER_MATCHER(usingDecl);
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp
  394       usingDecl(isExpansionInFileMatching(FilePattern), IsVisibleInNewNs)
  442       usingDecl(hasAnyUsingShadowDecl(decl()), hasParent(cxxRecordDecl()));
  466   Finder->addMatcher(usingDecl(IsInMovedNs, hasAnyUsingShadowDecl(decl()),
tools/clang/tools/extra/clang-move/Move.cpp
  545   Finder->addMatcher(namedDecl(anyOf(usingDecl(IsOldCCTopLevelDecl),
tools/clang/tools/extra/clang-tidy/google/GlobalNamesInHeadersCheck.cpp
   41   Finder->addMatcher(decl(anyOf(usingDecl(), usingDirectiveDecl()),
tools/clang/tools/extra/clang-tidy/google/UpgradeGoogletestCaseCheck.cpp
  183       usingDecl(hasAnyUsingShadowDecl(hasTargetDecl(Methods)), LocationFilter)
  200       usingDecl(hasAnyUsingShadowDecl(hasTargetDecl(TestCaseTypeAlias)))
tools/clang/tools/extra/clang-tidy/misc/UnusedUsingDeclsCheck.cpp
   54   Finder->addMatcher(usingDecl(isExpansionInMainFile()).bind("using"), this);
tools/clang/tools/extra/clang-tidy/modernize/ReplaceAutoPtrCheck.cpp
  111   Finder->addMatcher(usingDecl(hasAnyUsingShadowDecl(hasTargetDecl(namedDecl(
tools/clang/tools/extra/clang-tidy/modernize/UseUncaughtExceptionsCheck.cpp
   27       usingDecl(hasAnyUsingShadowDecl(hasTargetDecl(hasName(MatchText))))
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp
  238   Finder->addMatcher(usingDecl().bind("using"), this);
tools/clang/tools/extra/clang-tidy/utils/UsingInserter.cpp
   52       !match(stmt(hasAncestor(decl(has(usingDecl(hasAnyUsingShadowDecl(
tools/clang/unittests/AST/ASTImporterTest.cpp
 1033       functionDecl(hasDescendant(usingDecl())));
tools/clang/unittests/AST/SourceLocationTest.cpp
  385       usingDecl()));
tools/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
   34   EXPECT_TRUE(notMatches("", decl(usingDecl())));
   36                       decl(usingDecl())));
 1116                       usingDecl()));
 1121                       usingDecl(hasAnyUsingShadowDecl(hasName("a")))));
tools/clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
 1756                       usingDecl(hasAnyUsingShadowDecl(
 1759                          usingDecl(hasAnyUsingShadowDecl(
 2032     usingDecl(decl().bind("x"), hasAnyUsingShadowDecl(hasTargetDecl(