Home | History | Annotate | Download | only in AST

Lines Matching defs:DECL

1 //===--- DeclVisitor.h - Visitor for Decl subclasses ------------*- C++ -*-===//
16 #include "clang/AST/Decl.h"
38 RetTy Visit(PTR(Decl) D) {
40 #define DECL(DERIVED, BASE) \
41 case Decl::DERIVED: DISPATCH(DERIVED##Decl, DERIVED##Decl);
42 #define ABSTRACT_DECL(DECL)
45 llvm_unreachable("Decl that isn't part of DeclNodes.inc!");
50 #define DECL(DERIVED, BASE) \
51 RetTy Visit##DERIVED##Decl(PTR(DERIVED##Decl) D) { DISPATCH(BASE, BASE); }
54 RetTy VisitDecl(PTR(Decl) D) { return RetTy(); }
64 /// This class does not preserve constness of Decl pointers (see also
72 /// This class preserves constness of Decl pointers (see also DeclVisitor).