Commit 5a25cad
committed
[Clang] Fix the source location of default template arguments in placeholder constraints
We discovered this issue while working on the concept normalization
refactoring. We missed the source location when diagnosing the instantiation
point of the placeholder constraints, which happened in the substitution of
default template arguments that happened earlier than constraint evaluation.1 parent fd58f23 commit 5a25cad
File tree
2 files changed
+22
-1
lines changed- clang
- lib/Sema
- test/SemaTemplate
2 files changed
+22
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5180 | 5180 | | |
5181 | 5181 | | |
5182 | 5182 | | |
5183 | | - | |
| 5183 | + | |
5184 | 5184 | | |
5185 | 5185 | | |
5186 | 5186 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1251 | 1251 | | |
1252 | 1252 | | |
1253 | 1253 | | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
1254 | 1275 | | |
1255 | 1276 | | |
1256 | 1277 | | |
| |||
0 commit comments