PR27513: When determining which declaration to put into an exported lookup
table for a module / PCH, never map from a normal declaration of a class to an injected-class-name declaration (or vice versa). Those declarations live in distinct lookup tables and should not be confused. We really shouldn't be using a CXXRecordDecl to represent an injected-class-name in the first place; I've filed PR27532 so we don't forget. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@267632 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/Serialization/ASTWriter.cpp 11 additions, 2 deletionslib/Serialization/ASTWriter.cpp
- test/Modules/Inputs/PR27513/a.h 5 additions, 0 deletionstest/Modules/Inputs/PR27513/a.h
- test/Modules/Inputs/PR27513/b.h 3 additions, 0 deletionstest/Modules/Inputs/PR27513/b.h
- test/Modules/Inputs/PR27513/b1.h 1 addition, 0 deletionstest/Modules/Inputs/PR27513/b1.h
- test/Modules/Inputs/PR27513/b11.h 2 additions, 0 deletionstest/Modules/Inputs/PR27513/b11.h
- test/Modules/Inputs/PR27513/b111.h 3 additions, 0 deletionstest/Modules/Inputs/PR27513/b111.h
- test/Modules/Inputs/PR27513/b1111.h 1 addition, 0 deletionstest/Modules/Inputs/PR27513/b1111.h
- test/Modules/Inputs/PR27513/b1112.h 1 addition, 0 deletionstest/Modules/Inputs/PR27513/b1112.h
- test/Modules/Inputs/PR27513/b2.h 1 addition, 0 deletionstest/Modules/Inputs/PR27513/b2.h
- test/Modules/Inputs/PR27513/c.h 1 addition, 0 deletionstest/Modules/Inputs/PR27513/c.h
- test/Modules/Inputs/PR27513/module.modulemap 7 additions, 0 deletionstest/Modules/Inputs/PR27513/module.modulemap
- test/Modules/Inputs/PR27513/mystring.h 8 additions, 0 deletionstest/Modules/Inputs/PR27513/mystring.h
- test/Modules/pr27513.cpp 7 additions, 0 deletionstest/Modules/pr27513.cpp
Loading
Please register or sign in to comment