]> granicus.if.org Git - clang/commitdiff
Fix a [-Werror,-Wreorder] initialization ordering error.
authorEric Christopher <echristo@gmail.com>
Thu, 26 Feb 2015 00:29:54 +0000 (00:29 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 26 Feb 2015 00:29:54 +0000 (00:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@230589 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/Rewrite/InclusionRewriter.cpp

index 5cc503ad3540f8929cef3bcc71e286b772f70634..865bb2928c0286382ebdc867d3ca2e448cf9b885 100644 (file)
@@ -94,8 +94,8 @@ InclusionRewriter::InclusionRewriter(Preprocessor &PP, raw_ostream &OS,
                                      bool UseLineDirectives)
     : PP(PP), SM(PP.getSourceManager()), OS(OS), MainEOL("\n"),
       PredefinesBuffer(nullptr), ShowLineMarkers(ShowLineMarkers),
-      LastInsertedFileChange(FileChanges.end()),
-      UseLineDirectives(UseLineDirectives) {}
+      UseLineDirectives(UseLineDirectives),
+      LastInsertedFileChange(FileChanges.end()) {}
 
 /// Write appropriate line information as either #line directives or GNU line
 /// markers depending on what mode we're in, including the \p Filename and