Deduplicate #undef directives imported from multiple modules.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 13 Mar 2015 04:05:01 +0000 (04:05 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 13 Mar 2015 04:05:01 +0000 (04:05 +0000)
commitdf8a83127f538e20eba1ed85c977e8aa2aea7435
tree4210918d35e37479167ca1f46706914af9deb81d
parent41ed5d0067c402d512910c586024320eb9a14498
Deduplicate #undef directives imported from multiple modules.

No functionality change, but deeply-importing module files are smaller and
faster now.

llvm-svn: 232140
clang/include/clang/Serialization/ASTReader.h
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTWriter.cpp