clang API Documentation
#include "clang/AST/ASTContext.h"#include "clang/AST/Attr.h"#include "clang/AST/CommentVisitor.h"#include "clang/AST/DeclCXX.h"#include "clang/AST/DeclLookups.h"#include "clang/AST/DeclObjC.h"#include "clang/AST/DeclVisitor.h"#include "clang/AST/StmtVisitor.h"#include "clang/AST/TypeVisitor.h"#include "clang/Basic/Module.h"#include "clang/Basic/SourceManager.h"#include "llvm/Support/raw_ostream.h"#include "clang/Basic/AttrList.inc"#include "clang/AST/AttrDump.inc"#include "clang/AST/DeclNodes.inc"
Go to the source code of this file.
Defines | |
| #define | ATTR(X) case attr::X: OS << #X; break; |
| #define | DECL(DERIVED, BASE) |
| #define | ABSTRACT_DECL(DECL) |
Functions | |
| static void | dumpPreviousDeclImpl (raw_ostream &OS,...) |
| template<typename T > | |
| static void | dumpPreviousDeclImpl (raw_ostream &OS, const Mergeable< T > *D) |
| template<typename T > | |
| static void | dumpPreviousDeclImpl (raw_ostream &OS, const Redeclarable< T > *D) |
| static void | dumpPreviousDecl (raw_ostream &OS, const Decl *D) |
| static void | dumpBasePath (raw_ostream &OS, const CastExpr *Node) |
| #define ABSTRACT_DECL | ( | DECL | ) |
| #define DECL | ( | DERIVED, | |
| BASE | |||
| ) |
case Decl::DERIVED: \ return dumpPreviousDeclImpl(OS, cast<DERIVED##Decl>(D));
| static void dumpBasePath | ( | raw_ostream & | OS, |
| const CastExpr * | Node | ||
| ) | [static] |
Definition at line 1675 of file ASTDumper.cpp.
References clang::Type::getAs(), clang::NamedDecl::getName(), clang::CXXBaseSpecifier::getType(), clang::CXXBaseSpecifier::isVirtual(), clang::CastExpr::path_begin(), clang::CastExpr::path_empty(), and clang::CastExpr::path_end().
| static void dumpPreviousDecl | ( | raw_ostream & | OS, |
| const Decl * | D | ||
| ) | [static] |
Dump the previous declaration in the redeclaration chain for a declaration, if any.
Definition at line 836 of file ASTDumper.cpp.
References clang::Decl::getKind().
| static void dumpPreviousDeclImpl | ( | raw_ostream & | OS, |
| ... | |||
| ) | [static] |
Definition at line 818 of file ASTDumper.cpp.
| static void dumpPreviousDeclImpl | ( | raw_ostream & | OS, |
| const Mergeable< T > * | D | ||
| ) | [static] |
Definition at line 821 of file ASTDumper.cpp.
References clang::Mergeable< decl_type >::getFirstDecl().
| static void dumpPreviousDeclImpl | ( | raw_ostream & | OS, |
| const Redeclarable< T > * | D | ||
| ) | [static] |
Definition at line 828 of file ASTDumper.cpp.
References clang::Redeclarable< decl_type >::getPreviousDecl().