Reland "[Clang][Sema] Fix invalid redefinition error in if/switch/for statement"
authorJun Zhang <jun@junz.org>
Wed, 20 Apr 2022 17:17:47 +0000 (01:17 +0800)
committerJun Zhang <jun@junz.org>
Wed, 20 Apr 2022 17:18:58 +0000 (01:18 +0800)
commit9c069374cebe0162bc4f0b9d0397cf2b1c5febf6
treec98c7deeb232ec91e994bb9586752595d47cb84d
parent39ee23ed5ab3f411b6945a3acbbdf22cd8a0a6cb
Reland "[Clang][Sema] Fix invalid redefinition error in if/switch/for statement"

This reverts commit 9f075c3d84fb359efb6496535ab397a6f09609e2.
The broken build has alreasy been fixed in D124012, so reland it now.
Signed-off-by: Jun Zhang <jun@junz.org>
clang/docs/ReleaseNotes.rst
clang/lib/Sema/IdentifierResolver.cpp
clang/test/SemaCXX/cxx1z-init-statement.cpp