Commit b27bb09
authored
[AST] Simplify TypeIsArrayType (NFC) (llvm#158784)
This patch simplifies replaces TypeIsArrayType. If
std::is_same<ArrayType, ArrayType> is true, then
std::is_base_of<ArrayType, ArrayType> must also be true, so
std::is_base_of<ArrayType, ArrayType> alone is sufficient.1 parent 3938ce9 commit b27bb09
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9092 | 9092 | | |
9093 | 9093 | | |
9094 | 9094 | | |
9095 | | - | |
9096 | | - | |
9097 | | - | |
9098 | | - | |
| 9095 | + | |
9099 | 9096 | | |
9100 | 9097 | | |
9101 | 9098 | | |
| |||
0 commit comments