]> granicus.if.org Git - clang/commit
[modules] If we load two declarations with typedef names for linkage purposes
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 22 Jan 2015 02:21:23 +0000 (02:21 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 22 Jan 2015 02:21:23 +0000 (02:21 +0000)
commit0b9381aa5b1e0586012fd75f5ed9b1595e6af59d
tree5266de5704df58445fd9f4b4fc37706f67d20040
parent984e8b85595f3a3d73ea7120488ddc71317f51ff
[modules] If we load two declarations with typedef names for linkage purposes
on top of a local declaration of the same entity, we still need to remember
that we loaded the first one or we may fail to merge the second one properly.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@226765 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Serialization/ASTReaderDecl.cpp
test/Modules/Inputs/merge-name-for-linkage/a.h [new file with mode: 0644]
test/Modules/Inputs/merge-name-for-linkage/b.h [new file with mode: 0644]
test/Modules/Inputs/merge-name-for-linkage/module.modulemap [new file with mode: 0644]
test/Modules/merge-name-for-linkage.cc [new file with mode: 0644]