summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-06-28 22:03:51 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-06-28 22:03:51 +0000
commit5eab8d733ce7867fda4e6d5f5afa6dfe8a105c79 (patch)
tree18b5941253a0455172753e95bc83cd0d46303155 /lib/CodeGen/CodeGenFunction.cpp
parent5fb478be9b91f15624e855e7bd6ac2101021ac48 (diff)
downloadclang-5eab8d733ce7867fda4e6d5f5afa6dfe8a105c79.tar.gz
clang-5eab8d733ce7867fda4e6d5f5afa6dfe8a105c79.tar.bz2
clang-5eab8d733ce7867fda4e6d5f5afa6dfe8a105c79.tar.xz
PR7927, PR16247: Reimplement handling of matching extern "C" declarations
across scopes. When we declare an extern "C" name that is not a redeclaration of an entity in the same scope, check whether it redeclares some extern "C" entity from another scope, and if not, check whether it conflicts with a (non-extern-"C") entity in the translation unit. When we declare a name in the translation unit that is not a redeclaration, check whether it conflicts with any extern "C" entities (possibly from other scopes). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185229 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions