Commit 17d8ed7
authored
[clang] Make nullability-on-classes more robust to redeclarations (llvm#114778)
This is relevant after b24650e where
the selected template decl can be anything, even apparently a friend
declaration in some cases.1 parent b4ef43f commit 17d8ed7
2 files changed
+40
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
4774 | 4775 | | |
4775 | 4776 | | |
4776 | 4777 | | |
4777 | | - | |
| 4778 | + | |
| 4779 | + | |
| 4780 | + | |
| 4781 | + | |
4778 | 4782 | | |
4779 | 4783 | | |
4780 | 4784 | | |
| |||
4841 | 4845 | | |
4842 | 4846 | | |
4843 | 4847 | | |
4844 | | - | |
4845 | | - | |
4846 | | - | |
4847 | | - | |
| 4848 | + | |
| 4849 | + | |
| 4850 | + | |
| 4851 | + | |
| 4852 | + | |
| 4853 | + | |
| 4854 | + | |
| 4855 | + | |
4848 | 4856 | | |
4849 | 4857 | | |
4850 | 4858 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
0 commit comments