[PATCH] Fix to PR8880 (clang dies processing a for loop).

Richard Smith richard at metafoo.co.uk
Mon Nov 18 18:40:25 PST 2013


  This doesn't look quite right. For a case like:

    void f() { for (int n = 0; n != 3; ++n) { for (; ({ continue; true; });) ; } }

  the `continue` continues the outer loop. Your patch would reject it.

http://llvm-reviews.chandlerc.com/D2018



More information about the cfe-commits mailing list