aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2021-02-08 10:02:08 +0100
committerJan Svoboda <jan_svoboda@apple.com>2021-02-08 10:12:51 +0100
commit63623982e1adb4b7e85f21d00d04dd2f555b79b6 (patch)
tree58c00b6b6ef20af62d50ddc9bffba55f5c6cf763 /clang/lib/Frontend/CompilerInvocation.cpp
parent8561ad9296b70b5a2af1574a1576090520d62a7c (diff)
downloadllvm-63623982e1adb4b7e85f21d00d04dd2f555b79b6.zip
llvm-63623982e1adb4b7e85f21d00d04dd2f555b79b6.tar.gz
llvm-63623982e1adb4b7e85f21d00d04dd2f555b79b6.tar.bz2
[clang][cli] NFC: Mirror CreateFromArgs order in generateCC1CommandLine
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 3f8748f..e131804 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -3617,11 +3617,11 @@ void CompilerInvocation::generateCC1CommandLine(
#undef DIAG_OPTION_WITH_MARSHALLING
#undef OPTION_WITH_MARSHALLING
- GeneratePreprocessorArgs(*PreprocessorOpts, Args, SA, *LangOpts,
- FrontendOpts, CodeGenOpts);
GenerateAnalyzerArgs(*AnalyzerOpts, Args, SA);
GenerateHeaderSearchArgs(*HeaderSearchOpts, Args, SA);
GenerateLangArgs(*LangOpts, Args, SA);
+ GeneratePreprocessorArgs(*PreprocessorOpts, Args, SA, *LangOpts,
+ FrontendOpts, CodeGenOpts);
}
IntrusiveRefCntPtr<llvm::vfs::FileSystem>