[modules] Separately track whether an identifier's preprocessor information and
name lookup information have changed since deserialization. For a C++ modules build, we do not need to re-emit the identifier into the serialized identifier table if only the name lookup information has changed (and in all cases, we don't need to re-emit the macro information if only the name lookup information has changed). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@259901 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Basic/IdentifierTable.h 16 additions, 1 deletioninclude/clang/Basic/IdentifierTable.h
- lib/Basic/IdentifierTable.cpp 1 addition, 0 deletionslib/Basic/IdentifierTable.cpp
- lib/Sema/IdentifierResolver.cpp 1 addition, 1 deletionlib/Sema/IdentifierResolver.cpp
- lib/Serialization/ASTWriter.cpp 5 additions, 1 deletionlib/Serialization/ASTWriter.cpp
- test/Modules/minimal-identifier-tables.cpp 10 additions, 0 deletionstest/Modules/minimal-identifier-tables.cpp
Loading
Please register or sign in to comment