aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/Preprocessor.cpp
diff options
context:
space:
mode:
authorTimm Baeder <tbaeder@redhat.com>2023-09-27 06:36:18 +0200
committerGitHub <noreply@github.com>2023-09-27 06:36:18 +0200
commit17a1cc69a575a40428491b1c454d88c49ac07569 (patch)
tree54ba96f0df3b0a05e3a919aed08b19234dcc6b5f /clang/lib/Lex/Preprocessor.cpp
parentcb19abf96ebab762a035c1a4ea2fdf803c069479 (diff)
downloadllvm-17a1cc69a575a40428491b1c454d88c49ac07569.zip
llvm-17a1cc69a575a40428491b1c454d88c49ac07569.tar.gz
llvm-17a1cc69a575a40428491b1c454d88c49ac07569.tar.bz2
[clang][NFC] Preprocessor only needs const LangOptions (#66874)
Diffstat (limited to 'clang/lib/Lex/Preprocessor.cpp')
-rw-r--r--clang/lib/Lex/Preprocessor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/Preprocessor.cpp b/clang/lib/Lex/Preprocessor.cpp
index f0381c1..6dfe7c0 100644
--- a/clang/lib/Lex/Preprocessor.cpp
+++ b/clang/lib/Lex/Preprocessor.cpp
@@ -77,7 +77,7 @@ LLVM_INSTANTIATE_REGISTRY(PragmaHandlerRegistry)
ExternalPreprocessorSource::~ExternalPreprocessorSource() = default;
Preprocessor::Preprocessor(std::shared_ptr<PreprocessorOptions> PPOpts,
- DiagnosticsEngine &diags, LangOptions &opts,
+ DiagnosticsEngine &diags, const LangOptions &opts,
SourceManager &SM, HeaderSearch &Headers,
ModuleLoader &TheModuleLoader,
IdentifierInfoLookup *IILookup, bool OwnsHeaders,