19#include "clang/AST/ASTContext.h"
20#include "clang/AST/Decl.h"
36 if (!isa<NamedDecl>(D))
39 const NamedDecl* ND = cast<NamedDecl>(D);
40 clang::PrintingPolicy policy(ND->getASTContext().getPrintingPolicy());
42 ND->getNameForDiagnostic(stream, policy,
false);
The file contains a base class of TCling*Info classes.
virtual ~TClingDeclInfo()
virtual const char * Name()
virtual bool IsValid() const
virtual const clang::Decl * GetDecl() const