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)
llvm-svn: 230589

clang/lib/Frontend/Rewrite/InclusionRewriter.cpp

index 5cc503a..865bb29 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