[PATCH] D128747: ISSUE - incorrect -Winfinite-recursion warning on potentially-unevaluated operand #21668

Prathit Aswar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 29 07:09:17 PDT 2022


appmonster007 updated this revision to Diff 440992.
appmonster007 added a comment.

inserted bullet point for `-Winfinite-recursion` diagnostics fix, where diagnostic will not warn for unevaluated operands of ``typeid`` expression, under "Improvements to Clang’s diagnostics" in clang/docs/ReleaseNotes.rst

fixed issue with typeinfo header, just included it directly in `warn-infinite-recursion.cpp` file

fixed recommended minor changes


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D128747

Files:
  clang/docs/ReleaseNotes.rst
  clang/lib/Analysis/CFG.cpp
  clang/test/SemaCXX/warn-infinite-recursion.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128747.440992.patch
Type: text/x-patch
Size: 3578 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220629/aad54234/attachment-0001.bin>


More information about the cfe-commits mailing list