Home | History | Annotate | Download | only in AST

Lines Matching defs:DECL

52   // Decl kind names (VarDecl, FunctionDecl, etc)
85 // Decl names
155 const Decl *Prev;
167 void dump(const Decl *D, bool Ref = false) {
177 void dumpRef(const Decl *D) { dump(D, true); }
201 void dumpDecl(const Decl *D);
218 void dumpBareDeclRef(const Decl *Node);
219 void dumpDeclRef(const Decl *Node, const char *Label = nullptr);
513 void ASTDumper::dumpBareDeclRef(const Decl *D) {
529 void ASTDumper::dumpDeclRef(const Decl *D, const char *Label) {
576 dumpBareDeclRef(cast<Decl>(DC));
581 dumpPointer(cast<Decl>(Primary));
658 static void dumpPreviousDecl(raw_ostream &OS, const Decl *D) {
660 #define DECL(DERIVED, BASE) \
661 case Decl::DERIVED: \
662 return dumpPreviousDeclImpl(OS, cast<DERIVED##Decl>(D));
663 #define ABSTRACT_DECL(DECL)
666 llvm_unreachable("Decl that isn't part of DeclNodes.inc!");
744 OS << " decl";
780 // Decl dumping methods.
783 void ASTDumper::dumpDecl(const Decl *D) {
794 OS << D->getDeclKindName() << "Decl";
798 OS << " parent " << cast<Decl>(D->getDeclContext());
828 for (Decl::attr_iterator I = D->attr_begin(), E = D->attr_end();
1131 // Ensure we dump at least one decl for each specialization.
1681 OS << " " << Node->getDecl()->getDeclKindName() << "Decl";
2146 // Decl method implementations
2149 LLVM_DUMP_METHOD void Decl::dump() const { dump(llvm::errs()); }
2151 LLVM_DUMP_METHOD void Decl::dump(raw_ostream &OS) const {
2157 LLVM_DUMP_METHOD void Decl::dumpColor() const {