Open Quuxplusone opened 8 years ago
Bugzilla Link | PR29145 |
Status | NEW |
Importance | P normal |
Reported by | Lukasz Anforowicz (lukasza@chromium.org) |
Reported on | 2016-08-25 18:21:43 -0700 |
Last modified on | 2016-09-06 13:04:03 -0700 |
Version | trunk |
Hardware | PC Linux |
CC | llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
The bad thing is happening in addInstantiatedParametersToScope in SemaTemplateInstantiateDecl.cpp. When we update the names and types of the ParmVarDecls of the function to refer to the definition rather than the definition, we should update the source locations (both the name location and the TypeSourceInfo) as well.
Fix proposal is getting reviewed at https://reviews.llvm.org/D24268