(* * Copyright (c) 2016 - present Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. *) type t = string * string list (* (name, [param1,...,paramK]) *) val var_descs_name : Clang_ast_t.stmt -> string (* Helper function *) val call_method : string -> Clang_ast_t.stmt -> bool val property_name_contains_word : Clang_ast_t.decl -> string -> bool val is_objc_extension : CLintersContext.context -> bool val is_syntactically_global_var : Clang_ast_t.decl -> bool val is_const_expr_var : Clang_ast_t.decl -> bool val is_declaration_kind : Clang_ast_t.decl -> string -> bool val is_statement_kind : Clang_ast_t.stmt -> string -> bool val call_function_named : Clang_ast_t.stmt -> string list -> bool val is_strong_property : Clang_ast_t.decl -> bool val is_assign_property : Clang_ast_t.decl -> bool val is_property_pointer_type : Clang_ast_t.decl -> bool val context_in_synchronized_block : CLintersContext.context -> bool val is_ivar_atomic : Clang_ast_t.stmt -> bool val is_method_property_accessor_of_ivar : Clang_ast_t.stmt -> CLintersContext.context -> bool val is_objc_constructor : CLintersContext.context -> bool val is_objc_dealloc : CLintersContext.context -> bool val captures_cxx_references : Clang_ast_t.stmt -> bool val is_binop_with_kind : Clang_ast_t.stmt -> string -> bool val is_unop_with_kind : Clang_ast_t.stmt -> string -> bool val is_stmt : Clang_ast_t.stmt -> string -> bool val isa : Clang_ast_t.stmt -> string -> bool val pp_predicate : Format.formatter -> string * string list -> unit