clang
9.0.0
|
#include "clang/AST/JSONNodeDumper.h"
#include "clang/Lex/Lexer.h"
#include "llvm/ADT/StringSwitch.h"
#include "clang/AST/DeclNodes.inc"
#include "clang/Basic/AttrList.inc"
Go to the source code of this file.
Macros | |
#define | DECL(DERIVED, BASE) |
#define | ABSTRACT_DECL(DECL) |
#define | ATTR(X) |
#define | FIELD2(Name, Flag) if (RD->Flag()) Ret[Name] = true |
#define | FIELD1(Flag) FIELD2(#Flag, Flag) |
Functions | |
static llvm::json::Object | createDefaultConstructorDefinitionData (const CXXRecordDecl *RD) |
static llvm::json::Object | createCopyConstructorDefinitionData (const CXXRecordDecl *RD) |
static llvm::json::Object | createMoveConstructorDefinitionData (const CXXRecordDecl *RD) |
static llvm::json::Object | createCopyAssignmentDefinitionData (const CXXRecordDecl *RD) |
static llvm::json::Object | createMoveAssignmentDefinitionData (const CXXRecordDecl *RD) |
static llvm::json::Object | createDestructorDefinitionData (const CXXRecordDecl *RD) |
#define ABSTRACT_DECL | ( | DECL | ) |
#define ATTR | ( | X | ) |
#define DECL | ( | DERIVED, | |
BASE | |||
) |
#define FIELD1 | ( | Flag | ) | FIELD2(#Flag, Flag) |
Definition at line 289 of file JSONNodeDumper.cpp.
Referenced by createDestructorDefinitionData().
|
static |
Definition at line 342 of file JSONNodeDumper.cpp.
References FIELD2.
Referenced by createDestructorDefinitionData().
|
static |
Definition at line 307 of file JSONNodeDumper.cpp.
References FIELD2, and clang::CXXRecordDecl::needsOverloadResolutionForCopyConstructor().
Referenced by createDestructorDefinitionData().
|
static |
Definition at line 292 of file JSONNodeDumper.cpp.
References FIELD2.
Referenced by createDestructorDefinitionData().
|
static |
Definition at line 372 of file JSONNodeDumper.cpp.
References clang::AS_none, clang::AS_private, clang::AS_protected, clang::AS_public, canPassInRegisters(), createCopyAssignmentDefinitionData(), createCopyConstructorDefinitionData(), createDefaultConstructorDefinitionData(), createMoveAssignmentDefinitionData(), createMoveConstructorDefinitionData(), FIELD1, FIELD2, clang::CXXBaseSpecifier::getAccessSpecifier(), clang::CXXBaseSpecifier::getAccessSpecifierAsWritten(), clang::CXXBaseSpecifier::getType(), clang::tok::isLiteral(), clang::CXXBaseSpecifier::isPackExpansion(), isTrivial(), clang::CXXBaseSpecifier::isVirtual(), and clang::CXXRecordDecl::needsOverloadResolutionForDestructor().
|
static |
Definition at line 357 of file JSONNodeDumper.cpp.
References FIELD2.
Referenced by createDestructorDefinitionData().
|
static |
Definition at line 325 of file JSONNodeDumper.cpp.
References FIELD2, and clang::CXXRecordDecl::needsOverloadResolutionForMoveConstructor().
Referenced by createDestructorDefinitionData().