File tree Expand file tree Collapse file tree 4 files changed +3
-9
lines changed Expand file tree Collapse file tree 4 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 7
7
// ===----------------------------------------------------------------------===//
8
8
9
9
#include " ByteCodeEmitter.h"
10
+ #include " ByteCodeGenError.h"
10
11
#include " Context.h"
11
12
#include " Floating.h"
12
13
#include " Opcode.h"
18
19
using namespace clang ;
19
20
using namespace clang ::interp;
20
21
21
- using APSInt = llvm::APSInt;
22
- using Error = llvm::Error;
23
-
24
22
Expected<Function *>
25
23
ByteCodeEmitter::compileFunc (const FunctionDecl *FuncDecl) {
26
24
// Set up argument indices.
Original file line number Diff line number Diff line change 13
13
#ifndef LLVM_CLANG_AST_INTERP_LINKEMITTER_H
14
14
#define LLVM_CLANG_AST_INTERP_LINKEMITTER_H
15
15
16
- #include " ByteCodeGenError.h"
17
16
#include " Context.h"
18
- #include " InterpStack.h"
19
- #include " InterpState.h"
20
17
#include " PrimType.h"
21
18
#include " Program.h"
22
19
#include " Source.h"
23
20
#include " llvm/Support/Error.h"
24
21
25
22
namespace clang {
26
23
namespace interp {
27
- class Context ;
28
- class SourceInfo ;
29
24
enum Opcode : uint32_t ;
30
25
31
26
// / An emitter which links the program to bytecode for later use.
Original file line number Diff line number Diff line change 9
9
#include " Context.h"
10
10
#include " ByteCodeEmitter.h"
11
11
#include " ByteCodeExprGen.h"
12
+ #include " ByteCodeGenError.h"
12
13
#include " ByteCodeStmtGen.h"
13
14
#include " EvalEmitter.h"
14
15
#include " Interp.h"
Original file line number Diff line number Diff line change 17
17
#define LLVM_CLANG_AST_INTERP_CONTEXT_H
18
18
19
19
#include " InterpStack.h"
20
- #include " clang/AST/APValue.h"
21
20
22
21
namespace clang {
23
22
class ASTContext ;
24
23
class LangOptions ;
25
24
class FunctionDecl ;
26
25
class VarDecl ;
26
+ class APValue ;
27
27
28
28
namespace interp {
29
29
class Function ;
You can’t perform that action at this time.
0 commit comments