[modules] When we merge redecl chains or mark a decl used with an update
record, mark all subsequent decls as 'used' too, to maintain the AST invariant that getPreviousDecl()->Used implies this->Used. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211050 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/Serialization/ASTReader.cpp 4 additions, 1 deletionlib/Serialization/ASTReader.cpp
- lib/Serialization/ASTReaderDecl.cpp 13 additions, 1 deletionlib/Serialization/ASTReaderDecl.cpp
- test/Modules/Inputs/cxx-decls-imported.h 3 additions, 0 deletionstest/Modules/Inputs/cxx-decls-imported.h
- test/Modules/Inputs/cxx-decls-merged.h 1 addition, 0 deletionstest/Modules/Inputs/cxx-decls-merged.h
- test/Modules/Inputs/module.map 4 additions, 0 deletionstest/Modules/Inputs/module.map
- test/Modules/cxx-decls.cpp 8 additions, 0 deletionstest/Modules/cxx-decls.cpp
Loading
Please register or sign in to comment