Skip to content

Commit 0fc67cb

Browse files
committed
[Interpreter] Try include LLJIT.h to fix Amazon Linux 2 failures
These shouldn't be needed, but see if they fix Amazon Linux 2 anyway.
1 parent ad29658 commit 0fc67cb

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

clang/lib/Interpreter/CodeCompletion.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#include "clang/Frontend/ASTUnit.h"
2020
#include "clang/Frontend/CompilerInstance.h"
2121
#include "clang/Frontend/FrontendActions.h"
22-
#include "clang/Interpreter/Interpreter.h"
2322
#include "clang/Lex/PreprocessorOptions.h"
2423
#include "clang/Sema/CodeCompleteConsumer.h"
2524
#include "clang/Sema/CodeCompleteOptions.h"

clang/lib/Interpreter/IncrementalParser.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include "clang/Interpreter/Interpreter.h"
2323
#include "clang/Parse/Parser.h"
2424
#include "clang/Sema/Sema.h"
25+
#include "llvm/ExecutionEngine/Orc/LLJIT.h"
2526
#include "llvm/Option/ArgList.h"
2627
#include "llvm/Support/CrashRecoveryContext.h"
2728
#include "llvm/Support/Error.h"

clang/lib/Interpreter/Value.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include "clang/AST/Type.h"
1717
#include "clang/Interpreter/Interpreter.h"
1818
#include "llvm/ADT/StringExtras.h"
19+
#include "llvm/ExecutionEngine/Orc/LLJIT.h"
1920
#include "llvm/Support/ErrorHandling.h"
2021
#include "llvm/Support/raw_os_ostream.h"
2122
#include <cassert>

0 commit comments

Comments
 (0)