[PATCH] D71503: New warning on for-loops that never run because condition is false on the first iteration

Richard Trieu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 16 15:57:16 PST 2019


rtrieu updated this revision to Diff 234180.

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

https://reviews.llvm.org/D71503

Files:
  clang/include/clang/AST/Expr.h
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/AST/ExprConstant.cpp
  clang/lib/Sema/SemaStmt.cpp
  clang/test/SemaCXX/warn-loop-analysis-first-condition.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71503.234180.patch
Type: text/x-patch
Size: 26008 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191216/8e76dbba/attachment-0001.bin>


More information about the cfe-commits mailing list