[PATCH] D102502: [clang] Fix ternary operator in the second for loop statement

Danila Kutenin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 14 14:15:45 PDT 2021


danlark added a comment.

In D102502#2759900 <https://reviews.llvm.org/D102502#2759900>, @rsmith wrote:

> Thanks, nice catch!
>
> Can we also add an assert when parsing a `for` statement that we actually find a range if the tentative parse said we were expecting one?

Done.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102502



More information about the cfe-commits mailing list