diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-05-05 21:21:39 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-05-05 21:21:39 +0000 |
commit | b8149044e0c68b18a592e933d52c4085a874f2a8 (patch) | |
tree | 6b7ce5fcf5942353a1e9617abc3f9480a47047d7 /clang/test/Modules/Inputs/require-modular-includes/FromAnotherModule.framework/Headers/FromAnotherModule.h | |
parent | a82b5d840f065454e3cc30966c5147ca5729b2f6 (diff) | |
download | bcm5719-llvm-b8149044e0c68b18a592e933d52c4085a874f2a8.tar.gz bcm5719-llvm-b8149044e0c68b18a592e933d52c4085a874f2a8.zip |
Simplify replacement map by avoiding duplicate values and ensuring the values it does contain are necessary.
Items were being redundantly added to the replacement map (both when the
declaration was created, and then again when its definition was
constructed) which caused extra handling to be required when walking the
map (as elements may've already been replaced due to prior entries). By
avoiding adding the duplicates, the checks in the replacement handling
can be replaced with assertions.
llvm-svn: 208000
Diffstat (limited to 'clang/test/Modules/Inputs/require-modular-includes/FromAnotherModule.framework/Headers/FromAnotherModule.h')
0 files changed, 0 insertions, 0 deletions