Ignore the cast-style stmt.
(&self)
| 39 | |
| 40 | /// Ignore the cast-style stmt. |
| 41 | fn ignore_cast(&self) -> &Self { |
| 42 | match &self.kind { |
| 43 | Clang::CStyleCastExpr(_) |
| 44 | | Clang::ImplicitCastExpr(_) |
| 45 | | Clang::CXXReinterpretCastExpr => self.get_child().ignore_cast(), |
| 46 | _ => self, |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | fn ignore_parenexpr(&self) -> &Self { |
| 51 | if let Clang::ParenExpr(_) = &self.kind { |
no test coverage detected