//===--- DeclVisitor.h - Visitor for Decl subclasses ------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // This file defines the DeclVisitor interface. // //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_AST_DECLVISITOR_H #define LLVM_CLANG_AST_DECLVISITOR_H #include "clang/AST/Decl.h" #include "clang/AST/DeclCXX.h" #include "clang/AST/DeclFriend.h" #include "clang/AST/DeclObjC.h" #include "clang/AST/DeclOpenMP.h" #include "clang/AST/DeclTemplate.h" namespace clang { namespace declvisitor { template struct make_ptr { typedef T *type; }; template struct make_const_ptr { typedef const T *type; }; /// \brief A simple visitor class that helps create declaration visitors. template