projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8561ad9
)
[clang][cli] NFC: Mirror CreateFromArgs order in generateCC1CommandLine
author
Jan Svoboda
<jan_svoboda@apple.com>
Mon, 8 Feb 2021 09:02:08 +0000
(10:02 +0100)
committer
Jan Svoboda
<jan_svoboda@apple.com>
Mon, 8 Feb 2021 09:12:51 +0000
(10:12 +0100)
clang/lib/Frontend/CompilerInvocation.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Frontend/CompilerInvocation.cpp
b/clang/lib/Frontend/CompilerInvocation.cpp
index
3f8748f
..
e131804
100644
(file)
--- 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>