[PATCH] D135764: [clang][Interp] Implement for loops

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 20 07:19:27 PDT 2022


tbaeder added inline comments.


================
Comment at: clang/test/AST/Interp/loops.cpp:271
+  ///   be rejected.
+  constexpr int f6() {
+    while(true);
----------------
aaron.ballman wrote:
> Another test to add here: `for (;;);` is just as infinite.
Heh, that's what this was supposed to be :) I already have the `while(true)` one above.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135764



More information about the cfe-commits mailing list