Module ClangFrontend.CLocation

val should_translate_lib : IBase.SourceFile.t -> ATDGenerated.Clang_ast_t.source_range -> CFrontend_config.decl_trans_context -> translate_when_used:bool -> bool
val should_do_frontend_check : IBase.SourceFile.t -> ATDGenerated.Clang_ast_t.source_range -> bool
val is_file_blacklisted : string -> bool
val location_of_source_range : ?⁠pick_location:[ `Start | `End ] -> IBase.SourceFile.t -> ATDGenerated.Clang_ast_t.source_range -> IBase.Location.t

picks the start of the source range by default

val location_of_stmt_info : IBase.SourceFile.t -> ATDGenerated.Clang_ast_t.stmt_info -> IBase.Location.t
val location_of_decl_info : IBase.SourceFile.t -> ATDGenerated.Clang_ast_t.decl_info -> IBase.Location.t * IBase.Location.t