Commit 6543878
authored
[Clang][NFC] assert IFaceT in SemaObjC::HandleExprPropertyRefExpr (llvm#138026)
Static analysis flagged that we use IFaceT in HandleExprPropertyRefExpr
without checking even though getInterfaceType() can return nullptr. The
comments make it clear the assumption is that we will always have an
interface, so we will document this via an assert.
Fixes: llvm#1349541 parent 1ab70fe commit 6543878
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1980 | 1980 | | |
1981 | 1981 | | |
1982 | 1982 | | |
| 1983 | + | |
1983 | 1984 | | |
1984 | 1985 | | |
1985 | 1986 | | |
| |||
0 commit comments