MCPcopy Create free account
hub / github.com/FuzzAnything/PromptFuzz / ignore_cast

Method ignore_cast

src/ast/helper.rs:41–48  ·  view source on GitHub ↗

Ignore the cast-style stmt.

(&self)

Source from the content-addressed store, hash-verified

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 {

Callers 15

is_setjmp_callFunction · 0.80
visit_stmtMethod · 0.80
get_rvalueMethod · 0.80
get_name_as_stringMethod · 0.80
get_childsMethod · 0.80
get_var_initMethod · 0.80
get_var_init_callMethod · 0.80
get_base_exprMethod · 0.80
get_new_size_varMethod · 0.80
is_var_fuzzableFunction · 0.80

Calls 1

get_childMethod · 0.80

Tested by

no test coverage detected