clang
15.0.0git
|
#include "clang/AST/TextNodeDumper.h"
#include "clang/AST/APValue.h"
#include "clang/AST/DeclFriend.h"
#include "clang/AST/DeclOpenMP.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/AST/LocInfoType.h"
#include "clang/AST/Type.h"
#include "clang/Basic/Module.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Basic/Specifiers.h"
#include "clang/Basic/TypeTraits.h"
#include "llvm/ADT/StringExtras.h"
#include <algorithm>
#include <utility>
#include "clang/AST/DeclNodes.inc"
#include "clang/Basic/AttrList.inc"
#include "clang/Basic/FPOptions.def"
Go to the source code of this file.
Macros | |
#define | DECL(DERIVED, BASE) |
#define | ABSTRACT_DECL(DECL) |
#define | ATTR(X) |
#define | OPTION(NAME, TYPE, WIDTH, PREVIOUS) |
#define | FLAG(fn, name) |
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) |
Dump the previous declaration in the redeclaration chain for a declaration, if any. More... | |
static double | GetApproxValue (const llvm::APFloat &F) |
static bool | isSimpleAPValue (const APValue &Value) |
True if the APValue Value can be folded onto the current line. More... | |
static void | dumpBasePath (raw_ostream &OS, const CastExpr *Node) |
#define ABSTRACT_DECL | ( | DECL | ) |
#define DECL | ( | DERIVED, | |
BASE | |||
) |
#define FLAG | ( | fn, | |
name | |||
) |
#define OPTION | ( | NAME, | |
TYPE, | |||
WIDTH, | |||
PREVIOUS | |||
) |
|
static |
Definition at line 926 of file TextNodeDumper.cpp.
References clang::First, clang::RecordType::getDecl(), Node, and clang::CastExpr::path_const_iterator.
Referenced by clang::TextNodeDumper::VisitCastExpr(), and clang::TextNodeDumper::VisitCXXNamedCastExpr().
|
static |
Dump the previous declaration in the redeclaration chain for a declaration, if any.
Definition at line 49 of file TextNodeDumper.cpp.
References clang::Decl::getKind().
Referenced by clang::TextNodeDumper::Visit().
|
static |
Definition at line 34 of file TextNodeDumper.cpp.
References clang::First, and clang::Mergeable< decl_type >::getFirstDecl().
|
static |
Definition at line 41 of file TextNodeDumper.cpp.
References clang::Redeclarable< decl_type >::getPreviousDecl().
|
static |
Definition at line 31 of file TextNodeDumper.cpp.
|
static |
Definition at line 401 of file TextNodeDumper.cpp.
References V.
Referenced by clang::TextNodeDumper::Visit().
True if the APValue
Value
can be folded onto the current line.
Definition at line 410 of file TextNodeDumper.cpp.
References clang::APValue::AddrLabelDiff, clang::APValue::Array, clang::APValue::ComplexFloat, clang::APValue::ComplexInt, clang::APValue::FixedPoint, clang::APValue::Float, clang::APValue::Indeterminate, clang::APValue::Int, clang::APValue::LValue, clang::APValue::MemberPointer, clang::APValue::None, clang::APValue::Struct, clang::APValue::Union, and clang::APValue::Vector.