clang 20.0.0git
|
#include "Compiler.h"
#include "ByteCodeEmitter.h"
#include "Context.h"
#include "Floating.h"
#include "Function.h"
#include "InterpShared.h"
#include "PrimType.h"
#include "Program.h"
#include "clang/AST/Attr.h"
Go to the source code of this file.
Classes | |
class | clang::interp::DeclScope< Emitter > |
Scope used to handle temporaries in toplevel variable declarations. More... | |
class | clang::interp::OptionScope< Emitter > |
Scope used to handle initialization methods. More... | |
class | clang::interp::LabelScope< Emitter > |
Scope managing label targets. More... | |
class | clang::interp::LoopScope< Emitter > |
Sets the context for break/continue statements. More... | |
class | clang::interp::SwitchScope< Emitter > |
class | clang::interp::StmtExprScope< Emitter > |
Namespaces | |
namespace | clang |
The JSON file list parser is used to communicate input to InstallAPI. | |
namespace | clang::interp |
Typedefs | |
using | APSInt = llvm::APSInt |
Functions | |
static CharUnits | AlignOfType (QualType T, const ASTContext &ASTCtx, UnaryExprOrTypeTrait Kind) |
using APSInt = llvm::APSInt |
Definition at line 22 of file Compiler.cpp.
|
static |
Definition at line 1646 of file Compiler.cpp.
References clang::Type::getAs(), clang::ASTContext::getLangOpts(), clang::Type::getPointeeType(), clang::ASTContext::getPreferredTypeAlign(), clang::ASTContext::getTypeAlignInChars(), clang::CharUnits::One(), clang::T, and clang::ASTContext::toCharUnitsFromBits().
Referenced by clang::interp::Compiler< Emitter >::VisitUnaryExprOrTypeTraitExpr().