[PATCH] D157352: Revert "[Clang] Fix -Wconstant-logical-operand when LHS is a constant"

Shivam Gupta via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 7 19:28:23 PDT 2023


xgupta created this revision.
Herald added a project: All.
xgupta requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This reverts commit dfdfd306cfaf54fbc43e2d5eb36489dac3eb9976 <https://reviews.llvm.org/rGdfdfd306cfaf54fbc43e2d5eb36489dac3eb9976>.

An issue is reported for wrong warning, this has to be reconsidered.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D157352

Files:
  clang/include/clang/Sema/Sema.h
  clang/lib/Sema/SemaExpr.cpp
  clang/test/C/drs/dr4xx.c
  clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p5.cpp
  clang/test/Parser/cxx2a-concept-declaration.cpp
  clang/test/Sema/exprs.c
  clang/test/SemaCXX/expressions.cpp
  clang/test/SemaCXX/warn-unsequenced.cpp
  clang/test/SemaTemplate/dependent-expr.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157352.548035.patch
Type: text/x-patch
Size: 16143 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230808/2e8743a1/attachment-0001.bin>


More information about the cfe-commits mailing list