Revert "[Sema] Fix -Warray-bounds false negative when casting an out-of-bounds array...
authoreinvbri <vince.a.bridgers@ericsson.com>
Mon, 8 Feb 2021 12:38:31 +0000 (06:38 -0600)
committereinvbri <vince.a.bridgers@ericsson.com>
Mon, 8 Feb 2021 12:38:31 +0000 (06:38 -0600)
commit9083d0a40d980928f2f45236a4616528a7ab19ce
tree3256a8facccdfaadb83cc6d91c58da95a3f21f16
parentf74318491134356a19ba2d9673f89c8b74ff3692
Revert "[Sema] Fix -Warray-bounds false negative when casting an out-of-bounds array item"

This reverts commit e48f444751cf781c42934b242b81f549da77bad0.

thakis noticed false reports, so reverting this change for now until
those can be sorted out.

See https://reviews.llvm.org/D71714
clang/include/clang/Sema/Sema.h
clang/lib/Sema/SemaChecking.cpp
clang/test/Parser/cxx-ambig-decl-expr.cpp
clang/test/SemaCXX/array-bounds.cpp