[clang] 6362398 - [clang][cli] NFC: Mirror CreateFromArgs order in generateCC1CommandLine
Jan Svoboda via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 8 01:12:58 PST 2021
Author: Jan Svoboda
Date: 2021-02-08T10:12:51+01:00
New Revision: 63623982e1adb4b7e85f21d00d04dd2f555b79b6
URL: https://github.com/llvm/llvm-project/commit/63623982e1adb4b7e85f21d00d04dd2f555b79b6
DIFF: https://github.com/llvm/llvm-project/commit/63623982e1adb4b7e85f21d00d04dd2f555b79b6.diff
LOG: [clang][cli] NFC: Mirror CreateFromArgs order in generateCC1CommandLine
Added:
Modified:
clang/lib/Frontend/CompilerInvocation.cpp
Removed:
################################################################################
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 3f8748f83ec0..e131804b11d1 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>
More information about the cfe-commits
mailing list