]> granicus.if.org Git - clang/commit
[modules] The key to a DeclContext name lookup table is not actually a
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 26 Aug 2015 23:55:49 +0000 (23:55 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 26 Aug 2015 23:55:49 +0000 (23:55 +0000)
commite36baf1b0ddd6744b6d4d1a31bf1793fb5416678
tree73e8a3ca2e61b7c874cf17aee537748d660d3303
parenta188983517c32160d214d0f760d8dfe16f47c0a5
[modules] The key to a DeclContext name lookup table is not actually a
DeclarationName (because all ctor names are considered the same, and so on).
Reflect this in the type used as the lookup table key. As a side-effect, remove
one copy of the duplicated code used to compute the hash of the key.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246124 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Serialization/ASTBitCodes.h
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTReaderInternals.h
lib/Serialization/ASTWriter.cpp