Commit 0c6f471
committed
[clang][Sema] close IsStandardConversion hole when adding cfi_unchecked_callee
Commit b194cf1 changed this function for the case where attribute
cfi_unchecked_callee is added in a function conversion. But this
introduces a hole (issue #162798), and it seems the change was
unnecessary: the preceding TryFunctionConversion will already allow
adding the cfi_unchecked_callee attribute, and will update FromType if
it succeeds. So we revert the changes to IsStandardConversion.
Fixes: #1627981 parent be2c6c1 commit 0c6f471
File tree
2 files changed
+5
-7
lines changed- clang
- lib/Sema
- test/Frontend
2 files changed
+5
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2532 | 2532 | | |
2533 | 2533 | | |
2534 | 2534 | | |
2535 | | - | |
2536 | | - | |
2537 | | - | |
2538 | | - | |
2539 | | - | |
2540 | | - | |
| 2535 | + | |
2541 | 2536 | | |
2542 | 2537 | | |
2543 | | - | |
| 2538 | + | |
| 2539 | + | |
| 2540 | + | |
2544 | 2541 | | |
2545 | 2542 | | |
2546 | 2543 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
0 commit comments