[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
Showing
- include/clang/Serialization/ASTBitCodes.h 46 additions, 0 deletionsinclude/clang/Serialization/ASTBitCodes.h
- lib/Serialization/ASTReader.cpp 39 additions, 51 deletionslib/Serialization/ASTReader.cpp
- lib/Serialization/ASTReaderInternals.h 11 additions, 16 deletionslib/Serialization/ASTReaderInternals.h
- lib/Serialization/ASTWriter.cpp 17 additions, 44 deletionslib/Serialization/ASTWriter.cpp
Loading
Please register or sign in to comment