]> granicus.if.org Git - clang/commit
Make the loading of multiple records for the same identifier (from
authorDouglas Gregor <dgregor@apple.com>
Sat, 20 Aug 2011 05:09:43 +0000 (05:09 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 20 Aug 2011 05:09:43 +0000 (05:09 +0000)
commit0c02adaa4da1d87495ca6a6d394f78740fa475c4
treed4048d59ec03b05c9ddce211d56f7f0e501cf822
parent90115a378811842bf311d8fccff9201c940f178c
Make the loading of multiple records for the same identifier (from
different modules) more robust. It already handled (simple) merges of
the set of declarations attached to that identifier, so add a test
case that shows us getting two different declarations for the same
identifier (one struct, one function) from different modules, and are
able to use both of them.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138189 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Serialization/ASTReader.cpp
test/Modules/Inputs/diamond_left.h
test/Modules/Inputs/diamond_right.h
test/Modules/diamond.c