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

References

tools/clang/include/clang/ASTMatchers/ASTMatchers.h
  970     return InnerMatcher.matches(*Node.getAsDecl(), Finder, Builder);
tools/clang/lib/AST/ASTContext.cpp
 5446       auto *D = cast<ValueDecl>(Arg.getAsDecl()->getCanonicalDecl());
tools/clang/lib/AST/ASTDiagnostic.cpp
 1177           VD = Iter->getAsDecl();
 1207         VD = TA.getAsDecl();
tools/clang/lib/AST/ASTImporter.cpp
  756     Expected<ValueDecl *> ToOrErr = import(From.getAsDecl());
tools/clang/lib/AST/ASTStructuralEquivalence.cpp
  329     return IsStructurallyEquivalent(Context, Arg1.getAsDecl(), Arg2.getAsDecl());
  329     return IsStructurallyEquivalent(Context, Arg1.getAsDecl(), Arg2.getAsDecl());
tools/clang/lib/AST/Decl.cpp
  334       const NamedDecl *ND = Arg.getAsDecl();
tools/clang/lib/AST/ItaniumMangle.cpp
 4586     ValueDecl *D = A.getAsDecl();
tools/clang/lib/AST/JSONNodeDumper.cpp
 1459   JOS.attribute("decl", createBareDeclRef(TA.getAsDecl()));
tools/clang/lib/AST/MicrosoftMangle.cpp
 1458     const NamedDecl *ND = TA.getAsDecl();
tools/clang/lib/AST/ODRHash.cpp
  168       AddDecl(TA.getAsDecl());
tools/clang/lib/AST/StmtProfile.cpp
 2048     VisitDecl(Arg.getAsDecl());
tools/clang/lib/AST/TemplateBase.cpp
  130     if (DeclContext *DC = dyn_cast<DeclContext>(getAsDecl()))
  132     return getAsDecl()->getDeclContext()->isDependentContext();
  170     if (DeclContext *DC = dyn_cast<DeclContext>(getAsDecl()))
  172     return getAsDecl()->getDeclContext()->isDependentContext();
  301     ID.AddPointer(getAsDecl()? getAsDecl()->getCanonicalDecl() : nullptr);
  301     ID.AddPointer(getAsDecl()? getAsDecl()->getCanonicalDecl() : nullptr);
  351     return getAsDecl() == Other.getAsDecl();
  351     return getAsDecl() == Other.getAsDecl();
  408     NamedDecl *ND = getAsDecl();
  521     return DB << Arg.getAsDecl();
tools/clang/lib/AST/TextNodeDumper.cpp
  596   dumpDeclRef(TA.getAsDecl());
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 1767       const ValueDecl *D = TA.getAsDecl();
tools/clang/lib/Index/USRGeneration.cpp
  948     Visit(Arg.getAsDecl());
tools/clang/lib/Sema/SemaExpr.cpp
16983       if (Decl *D = Arg.getAsDecl())
tools/clang/lib/Sema/SemaExprCXX.cpp
  618         getUuidAttrOfType(SemaRef, TA.getAsDecl()->getType(), UuidAttrs);
tools/clang/lib/Sema/SemaTemplate.cpp
 6966   ValueDecl *VD = Arg.getAsDecl();
tools/clang/lib/Sema/SemaTemplateDeduction.cpp
  320         isSameDeclaration(X.getAsDecl(), Y.getAsDecl()))
  320         isSameDeclaration(X.getAsDecl(), Y.getAsDecl()))
 2157         isSameDeclaration(Param.getAsDecl(), Arg.getAsDecl()))
 2157         isSameDeclaration(Param.getAsDecl(), Arg.getAsDecl()))
 2211                                              Arg.getAsDecl(),
 2390       return isSameDeclaration(X.getAsDecl(), Y.getAsDecl());
 2390       return isSameDeclaration(X.getAsDecl(), Y.getAsDecl());
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp
 1337       VD = arg.getAsDecl();
tools/clang/lib/Serialization/ASTWriter.cpp
 6037     AddDeclRef(Arg.getAsDecl());
tools/clang/tools/extra/clang-tidy/misc/UnusedUsingDeclsCheck.cpp
  138       RemoveNamedDecl(Used->getAsDecl());