[Driver] Fix a warning about the the initialization order
authorKazu Hirata <kazu@google.com>
Sat, 27 Feb 2021 00:32:30 +0000 (16:32 -0800)
committerKazu Hirata <kazu@google.com>
Sat, 27 Feb 2021 00:32:30 +0000 (16:32 -0800)
clang/lib/Driver/Driver.cpp

index acea40f..ceaeb16 100644 (file)
@@ -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),