[clang] 233ba27 - [Driver] Fix a warning about the the initialization order
Kazu Hirata via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 26 16:32:49 PST 2021
Author: Kazu Hirata
Date: 2021-02-26T16:32:30-08:00
New Revision: 233ba2709bde54ea820cdaba0405d46b2c197e01
URL: https://github.com/llvm/llvm-project/commit/233ba2709bde54ea820cdaba0405d46b2c197e01
DIFF: https://github.com/llvm/llvm-project/commit/233ba2709bde54ea820cdaba0405d46b2c197e01.diff
LOG: [Driver] Fix a warning about the the initialization order
Added:
Modified:
clang/lib/Driver/Driver.cpp
Removed:
################################################################################
diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp
index acea40f05182..ceaeb16df6f1 100644
--- a/clang/lib/Driver/Driver.cpp
+++ b/clang/lib/Driver/Driver.cpp
@@ -135,9 +135,9 @@ Driver::Driver(StringRef ClangExecutable, StringRef TargetTriple,
: Diags(Diags), VFS(std::move(VFS)), Mode(GCCMode),
SaveTemps(SaveTempsNone), BitcodeEmbed(EmbedNone), LTOMode(LTOK_None),
ClangExecutable(ClangExecutable), SysRoot(DEFAULT_SYSROOT),
- DriverTitle(Title), CCPrintOptionsFilename(nullptr),
- CCPrintHeadersFilename(nullptr), CCLogDiagnosticsFilename(nullptr),
- CCPrintStatReportFilename(nullptr), CCCPrintBindings(false),
+ DriverTitle(Title), CCPrintStatReportFilename(nullptr),
+ CCPrintOptionsFilename(nullptr), CCPrintHeadersFilename(nullptr),
+ CCLogDiagnosticsFilename(nullptr), CCCPrintBindings(false),
CCPrintOptions(false), CCPrintHeaders(false), CCLogDiagnostics(false),
CCGenDiagnostics(false), CCPrintProcessStats(false),
TargetTriple(TargetTriple), CCCGenericGCCName(""), Saver(Alloc),
More information about the cfe-commits
mailing list