llvm::function_ref<bool(PrimType)> Indirect);
/// Emits an APSInt constant.
- bool emitConst(const APSInt &Value, const Expr *E);
- bool emitConst(const APInt &Value, const Expr *E) {
- return emitConst(static_cast<APSInt>(Value), E);
+ bool emitConst(const llvm::APSInt &Value, const Expr *E);
+ bool emitConst(const llvm::APInt &Value, const Expr *E) {
+ return emitConst(static_cast<llvm::APSInt>(Value), E);
}
/// Emits an integer constant.
#ifndef LLVM_CLANG_AST_INTERP_TYPE_H
#define LLVM_CLANG_AST_INTERP_TYPE_H
-#include "Integral.h"
#include <climits>
#include <cstddef>
#include <cstdint>
class Boolean;
class Floating;
class FunctionPointer;
+template <unsigned Bits, bool Signed> class Integral;
/// Enumeration of the primitive types of the VM.
enum PrimType : unsigned {