]> granicus.if.org Git - clang/commit
PR5172: Fix for a bug in pragma redefine_extname implementation:
authorAlexander Musman <alexander.musman@gmail.com>
Wed, 10 Jun 2015 11:20:26 +0000 (11:20 +0000)
committerAlexander Musman <alexander.musman@gmail.com>
Wed, 10 Jun 2015 11:20:26 +0000 (11:20 +0000)
commitc024327365be5c472f3a1afd222161f6aa4ee2d6
tree222c8004b9d5129a1ffe5b32b87e7aa50f46222b
parented5723d05e9782a4ebcdf1b07423a23f7aa6b40a
PR5172: Fix for a bug in pragma redefine_extname implementation:
it doesn't work correctly when a structure is declared before pragma
and then a function with the same name declared after pragma.

Patch by Andrey Bokhanko

Differential Revision: http://reviews.llvm.org/D10187

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@239466 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/CodeGenCXX/redefine_extname.cpp [new file with mode: 0644]