]> granicus.if.org Git - clang/commit
The submodule offset map can introduce "empty" remapping entries for
authorDouglas Gregor <dgregor@apple.com>
Mon, 19 Dec 2011 16:14:14 +0000 (16:14 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 19 Dec 2011 16:14:14 +0000 (16:14 +0000)
commitadafc2edc0dc4fa25ea6f0a136f599a6ac279081
tree4a3d07ea81207f6910da6aef8bcc1e8440130a01
parentecb19382e1041f4e90f44c541173b85e4f328b84
The submodule offset map can introduce "empty" remapping entries for
imported modules that don't introduce any new entities of a particular
kind. Allow these entries to be replaced with entries for another
loaded module.

In the included test case, selectors exhibit this behavior.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146870 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Serialization/ContinuousRangeMap.h
lib/Serialization/ASTReader.cpp
test/Modules/Inputs/redecl-merge-left.h
test/Modules/redecl-merge.m