Commit c22ec9c
authored
[Clang][Sema] Add nullptr check in IsFunctionConversion (#153710)
Static analysis flagged this code b/c ToFPT could be nullptr but we were
not checking it even though in the previous if statement we did. It
looks like this was a mistaken refactor from:
#135836
In the older code ToFPT was set using a cast which would have asserted
but no longer in the new code.1 parent e261f28 commit c22ec9c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1979 | 1979 | | |
1980 | 1980 | | |
1981 | 1981 | | |
1982 | | - | |
| 1982 | + | |
1983 | 1983 | | |
1984 | 1984 | | |
1985 | 1985 | | |
| |||
0 commit comments