[PATCH] D131892: [Sema] fix false -Wcomma being emitted from void returning functions

YingChi Long via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 15 12:03:09 PDT 2022


inclyc updated this revision to Diff 452767.
inclyc added a comment.

Address comments.

Thanks a lot for your suggestion, I noticed that the regression test tested both
C and C++, so I split the test mentioned in the comment into two parts.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131892

Files:
  clang/docs/ReleaseNotes.rst
  clang/lib/Sema/SemaExpr.cpp
  clang/test/SemaCXX/warn-comma-operator.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131892.452767.patch
Type: text/x-patch
Size: 2901 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220815/c6b95a9f/attachment.bin>


More information about the cfe-commits mailing list