]> granicus.if.org Git - clang/commit
Fix #pragma redefine_extname when there is a local variable of the same name. The...
authorAaron Ballman <aaron@aaronballman.com>
Thu, 25 Jun 2015 15:37:16 +0000 (15:37 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 25 Jun 2015 15:37:16 +0000 (15:37 +0000)
commit8765c84df3cf60da79a515d73a3920ea9ec34289
tree8dd8eb516d51bdd8003d0250ffdcd522b56b70ac
parentdaf37e652765eafe4d7ff177aa4f4989fa423421
Fix #pragma redefine_extname when there is a local variable of the same name. The local should not be renamed, only the externally-available declaration should be.

Patch by Andrey Bokhanko!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240653 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/CodeGen/redefine_extname.c
test/CodeGenCXX/redefine_extname.cpp