Skip to content

Commit f5d6e40

Browse files
bnbarhamAnthonyLatsis
authored andcommitted
[clang][Interpreter] Try adding some includes to fix Amazon Linux 2 failures
These shouldn't be needed, but see if they fix Amazon Linux 2 anyway.
1 parent 0b652e4 commit f5d6e40

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-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
@@ -17,6 +17,7 @@
1717
#include "clang/Interpreter/PartialTranslationUnit.h"
1818
#include "clang/Parse/Parser.h"
1919
#include "clang/Sema/Sema.h"
20+
#include "llvm/ExecutionEngine/Orc/LLJIT.h"
2021
#include "llvm/Support/CrashRecoveryContext.h"
2122
#include "llvm/Support/Error.h"
2223

clang/lib/Interpreter/InterpreterValuePrinter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include "clang/Sema/Lookup.h"
2222
#include "clang/Sema/Sema.h"
2323

24+
#include "llvm/ExecutionEngine/Orc/LLJIT.h"
2425
#include "llvm/Support/Error.h"
2526
#include "llvm/Support/raw_ostream.h"
2627

clang/lib/Interpreter/Value.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@
1414
#include "clang/Interpreter/Value.h"
1515
#include "clang/AST/ASTContext.h"
1616
#include "clang/AST/Type.h"
17+
#include "clang/AST/ASTConsumer.h"
1718
#include "clang/Interpreter/Interpreter.h"
1819
#include "llvm/ADT/StringExtras.h"
20+
#include "llvm/ExecutionEngine/Orc/LLJIT.h"
1921
#include <cassert>
2022
#include <utility>
2123

0 commit comments

Comments
 (0)