This reverts commit dfdfd306cfaf54fbc43e2d5eb36489dac3eb9976.
An issue is reported for wrong warning, this has to be reconsidered.
Paths
| Differential D157352
Revert "[Clang] Fix -Wconstant-logical-operand when LHS is a constant" ClosedPublic Authored by xgupta on Aug 7 2023, 7:28 PM.
Details
Summary This reverts commit dfdfd306cfaf54fbc43e2d5eb36489dac3eb9976. An issue is reported for wrong warning, this has to be reconsidered.
Diff Detail
Event TimelineThis revision was landed with ongoing or failed builds. Closed by commit rGa84525233776: Revert "[Clang] Fix -Wconstant-logical-operand when LHS is a constant" (authored by xgupta). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 548035 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
|