[polly] 8d3dda7 - [Polly] Fix -Wreorder-ctor. NFC

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 1 17:33:19 PDT 2022


Author: Fangrui Song
Date: 2022-06-01T17:33:14-07:00
New Revision: 8d3dda7624d2003496babf360c90678fe53c4b14

URL: https://github.com/llvm/llvm-project/commit/8d3dda7624d2003496babf360c90678fe53c4b14
DIFF: https://github.com/llvm/llvm-project/commit/8d3dda7624d2003496babf360c90678fe53c4b14.diff

LOG: [Polly] Fix -Wreorder-ctor. NFC

Added: 
    

Modified: 
    polly/lib/Transform/MaximalStaticExpansion.cpp

Removed: 
    


################################################################################
diff  --git a/polly/lib/Transform/MaximalStaticExpansion.cpp b/polly/lib/Transform/MaximalStaticExpansion.cpp
index dd1bae11d6572..e32a69d47f69c 100644
--- a/polly/lib/Transform/MaximalStaticExpansion.cpp
+++ b/polly/lib/Transform/MaximalStaticExpansion.cpp
@@ -411,7 +411,7 @@ class MaximalStaticExpansionImpl {
 public:
   MaximalStaticExpansionImpl(Scop &S, isl::union_map &Dependences,
                              OptimizationRemarkEmitter &ORE)
-      : S(S), ORE(ORE), Dependences(Dependences) {}
+      : ORE(ORE), S(S), Dependences(Dependences) {}
 
   /// Expand the accesses of the SCoP
   ///


        


More information about the llvm-commits mailing list