Lines Matching refs:decl
56 // Decl kind names (VarDecl, FunctionDecl, etc)
89 // Decl names
216 void dumpDecl(const Decl *D);
228 void dumpBareDeclRef(const Decl *Node);
229 void dumpDeclRef(const Decl *Node, const char *Label = nullptr);
716 void ASTDumper::dumpBareDeclRef(const Decl *D) {
738 void ASTDumper::dumpDeclRef(const Decl *D, const char *Label) {
782 dumpBareDeclRef(cast<Decl>(DC));
787 dumpPointer(cast<Decl>(Primary));
815 // Dump earliest decl first.
816 std::function<void(Decl *)> DumpWithPrev = [&](Decl *D) {
817 if (Decl *Prev = D->getPreviousDecl())
876 static void dumpPreviousDecl(raw_ostream &OS, const Decl *D) {
878 #define DECL(DERIVED, BASE) \
879 case Decl::DERIVED: \
880 return dumpPreviousDeclImpl(OS, cast<DERIVED##Decl>(D));
881 #define ABSTRACT_DECL(DECL)
884 llvm_unreachable("Decl that isn't part of DeclNodes.inc!");
963 OS << " decl";
1007 // Decl dumping methods.
1010 void ASTDumper::dumpDecl(const Decl *D) {
1020 OS << D->getDeclKindName() << "Decl";
1024 OS << " parent " << cast<Decl>(D->getDeclContext());
1055 for (Decl::attr_iterator I = D->attr_begin(), E = D->attr_end(); I != E;
1371 // Ensure we dump at least one decl for each specialization.
1954 OS << " " << Node->getDecl()->getDeclKindName() << "Decl";
2462 // Decl method implementations
2465 LLVM_DUMP_METHOD void Decl::dump() const { dump(llvm::errs()); }
2467 LLVM_DUMP_METHOD void Decl::dump(raw_ostream &OS) const {
2473 LLVM_DUMP_METHOD void Decl::dumpColor() const {