Commit ce51248
authored
[Clang] Fix an incorrect assertion in
Not all non-type template arguments are modeled as
NonTypeTemplateParmDecl.
Fixes llvm#151531Sema::CheckAddressOfOperand (llvm#159314)1 parent 6a726e9 commit ce51248
File tree
3 files changed
+20
-2
lines changed- clang
- docs
- lib/Sema
- test/SemaTemplate
3 files changed
+20
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
| 399 | + | |
| 400 | + | |
399 | 401 | | |
400 | 402 | | |
401 | 403 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14725 | 14725 | | |
14726 | 14726 | | |
14727 | 14727 | | |
14728 | | - | |
14729 | | - | |
| 14728 | + | |
| 14729 | + | |
| 14730 | + | |
14730 | 14731 | | |
14731 | 14732 | | |
14732 | 14733 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
0 commit comments