Home | History | Annotate | Download | only in AST

Lines Matching defs:DECL

9 void JSONNodeDumper::addPreviousDeclaration(const Decl *D) {
11 #define DECL(DERIVED, BASE) \
12 case Decl::DERIVED: \
13 return writePreviousDeclImpl(cast<DERIVED##Decl>(D));
14 #define ABSTRACT_DECL(DECL)
17 #undef DECL
19 llvm_unreachable("Decl that isn't part of DeclNodes.inc!");
95 void JSONNodeDumper::Visit(const Decl *D) {
101 JOS.attribute("kind", (llvm::Twine(D->getDeclKindName()) + "Decl").str());
119 // the same pointer representation as a Decl pointer that references the
121 const auto *ParentDeclContextDecl = dyn_cast<Decl>(D->getDeclContext());
146 const Decl *From, StringRef Label) {
297 void JSONNodeDumper::writeBareDeclRef(const Decl *D) {
302 JOS.attribute("kind", (llvm::Twine(D->getDeclKindName()) + "Decl").str());
309 llvm::json::Object JSONNodeDumper::createBareDeclRef(const Decl *D) {
314 Ret["kind"] = (llvm::Twine(D->getDeclKindName()) + "Decl").str();
501 JOS.attribute("decl", createBareDeclRef(TT->getDecl()));
629 JOS.attribute("decl", createBareDeclRef(UUT->getDecl()));
641 JOS.attribute("decl", createBareDeclRef(TT->getDecl()));
649 JOS.attribute("decl", createBareDeclRef(TTPT->getDecl()));
679 JOS.attribute("decl", createBareDeclRef(ICNT->getDecl()));
683 JOS.attribute("decl", createBareDeclRef(OIT->getDecl()));
1145 JOS.attribute("decl", createBareDeclRef(OIRE->getDecl()));
1480 JOS.attribute("decl", createBareDeclRef(TA.getAsDecl()));