diff options
author | Timm Baeder <tbaeder@redhat.com> | 2023-09-27 06:36:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-27 06:36:18 +0200 |
commit | 17a1cc69a575a40428491b1c454d88c49ac07569 (patch) | |
tree | 54ba96f0df3b0a05e3a919aed08b19234dcc6b5f /clang/lib/Lex/Preprocessor.cpp | |
parent | cb19abf96ebab762a035c1a4ea2fdf803c069479 (diff) | |
download | llvm-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.cpp | 2 |
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, |