[modules] When loading a template specialization, re-canonicalize its template
arguments because the reloaded form might have become non-canonical across the serialization/deserialization step (this particularly happens when the canonical form of the type involves an expression). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244409 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Serialization/ASTReader.h 6 additions, 6 deletionsinclude/clang/Serialization/ASTReader.h
- lib/Serialization/ASTReader.cpp 15 additions, 5 deletionslib/Serialization/ASTReader.cpp
- lib/Serialization/ASTReaderDecl.cpp 7 additions, 4 deletionslib/Serialization/ASTReaderDecl.cpp
- test/Modules/Inputs/stress1/merge00.h 4 additions, 0 deletionstest/Modules/Inputs/stress1/merge00.h
- test/Modules/Inputs/stress1/module.modulemap 1 addition, 0 deletionstest/Modules/Inputs/stress1/module.modulemap
- test/Modules/Inputs/submodules-merge-defs/defs.h 13 additions, 0 deletionstest/Modules/Inputs/submodules-merge-defs/defs.h
- test/Modules/stress1.cpp 12 additions, 0 deletionstest/Modules/stress1.cpp
Loading
Please register or sign in to comment