Commit 57914f6
authored
[clang-tidy][NFC] Remove unnecessary nullptr check on cast subexpr (llvm#85473)
The value of SubExpr is not null since getSubExpr would assert in that
case. Remove the nullptr check. This avoids confusion since SubExpr is
used without check later in the function.1 parent f6f42af commit 57914f6
File tree
1 file changed
+1
-2
lines changed- clang-tools-extra/clang-tidy/readability
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
| 84 | + | |
86 | 85 | | |
87 | 86 | | |
88 | 87 | | |
| |||
0 commit comments