Skip to content

Commit 9dd9b3a

Browse files
committed
[upstream-update] update header inclusion for PreprocessorOptions
The PreprocessorOptions type was moved into a separate header in clang. Update the inclusion to fix the compilation.
1 parent 87750ac commit 9dd9b3a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/ClangImporter/ClangImporter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
#include "clang/Serialization/ASTReader.h"
4949
#include "clang/Serialization/ASTWriter.h"
5050
#include "clang/Lex/Preprocessor.h"
51+
#include "clang/Lex/PreprocessorOptions.h"
5152
#include "clang/Parse/Parser.h"
5253
#include "clang/Rewrite/Frontend/FrontendActions.h"
5354
#include "clang/Rewrite/Frontend/Rewriters.h"

lib/IDE/Utils.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include "clang/CodeGen/ObjectFilePCHContainerOperations.h"
2323
#include "clang/Frontend/CompilerInstance.h"
2424
#include "clang/Frontend/TextDiagnosticBuffer.h"
25+
#include "clang/Lex/PreprocessorOptions.h"
2526
#include "clang/Serialization/ASTReader.h"
2627
#include "llvm/ADT/STLExtras.h"
2728
#include "llvm/Support/MemoryBuffer.h"

0 commit comments

Comments
 (0)