You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.0 KiB

(*
* Copyright (c) 2013 - 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.
*)
open! IStd
(** Module for function to retrieve the location (file, line, etc) of instructions *)
val clang_to_sil_location :
CFrontend_config.translation_unit_context -> Clang_ast_t.source_location -> Location.t
val get_sil_location : Clang_ast_t.stmt_info -> CContext.t -> Location.t
val should_translate_lib :
CFrontend_config.translation_unit_context -> Clang_ast_t.source_range
-> CModule_type.decl_trans_context -> translate_when_used:bool -> bool
val should_do_frontend_check :
CFrontend_config.translation_unit_context -> Clang_ast_t.source_range -> bool
val is_file_blacklisted : string -> bool
val get_sil_location_from_range :
CFrontend_config.translation_unit_context -> Clang_ast_t.source_range -> bool -> Location.t