MyDeveloperDay added a comment.

To confirm

  if (x)
      for(int i=0;i<10;i++)
          foo();

will be transformed to

  if (x)
    for (int i = 0; i < 10; i++) {
      foo();
    }

but this itself will NOT be transformed to

  if (x) {
    for (int i = 0; i < 10; i++) {
      foo();
    }
  }

So definitely we are going to miss some cases.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95168/new/

https://reviews.llvm.org/D95168

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to