[PATCH] D94366: [Clang] Emit mustprogress for infinite C++ loops

Atmn Patel via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 9 16:01:49 PST 2021


atmnpatel updated this revision to Diff 315639.
atmnpatel added a comment.

`while(1)` case was mishandled for C++11 onwards, fixed now.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94366

Files:
  clang/lib/CodeGen/CGStmt.cpp
  clang/test/CodeGen/attr-mustprogress-1.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94366.315639.patch
Type: text/x-patch
Size: 10538 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210110/ba5f47a9/attachment.bin>


More information about the cfe-commits mailing list