================
@@ -4989,8 +4989,8 @@ CFGBlock 
*CFGBuilder::VisitCXXForRangeStmt(CXXForRangeStmt *S) {
 
   // Add the initialization statements.
   Block = createBlock();
-  addStmt(S->getBeginStmt());
   addStmt(S->getEndStmt());
+  addStmt(S->getBeginStmt());
----------------
Inconnu08 wrote:

Wow, I didn’t realize this went all the way back to Clang 3.9! Thanks for 
digging into the history.

https://github.com/llvm/llvm-project/pull/234467
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to