Implement cross-module declaration merging for tag declarations, so
that if two modules A and B both contain a declaration of a tag such as struct X; and those two modules are unrelated, the two declarations of X will be merged into a single redeclaration chain. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147488 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/Serialization/ASTReaderDecl.cpp 38 additions, 2 deletionslib/Serialization/ASTReaderDecl.cpp
- test/Modules/Inputs/redecl-merge-bottom.h 3 additions, 0 deletionstest/Modules/Inputs/redecl-merge-bottom.h
- test/Modules/Inputs/redecl-merge-left.h 17 additions, 0 deletionstest/Modules/Inputs/redecl-merge-left.h
- test/Modules/Inputs/redecl-merge-right.h 12 additions, 0 deletionstest/Modules/Inputs/redecl-merge-right.h
- test/Modules/Inputs/redecl-merge-top.h 4 additions, 0 deletionstest/Modules/Inputs/redecl-merge-top.h
- test/Modules/redecl-merge.m 23 additions, 0 deletionstest/Modules/redecl-merge.m
Loading
Please register or sign in to comment