ClangFrontend.CFrontend_config
Module that contains constants and global state used in the frontend
val compare_clang_lang : clang_lang -> clang_lang -> int
val equal_clang_lang : clang_lang -> clang_lang -> bool
type translation_unit_context = {
lang : clang_lang;
source_file : IBase.SourceFile.t;
integer_type_widths : IR.IntegerWidths.t;
is_objc_arc_on : bool;
}
type instr_type =
| ClangStmt of IR.Procdesc.Node.stmt_nodekind * ATDGenerated.Clang_ast_t.stmt
| CXXConstructorInit of ATDGenerated.Clang_ast_t.cxx_ctor_initializer
Constants
Script to run our own clang. The argument is expected to be either "" or "++".
val std_addressof : IR.QualifiedCppName.Match.quals_matcher
Global state
val enum_map :
(ATDGenerated.Clang_ast_t.pointer option * IR.Exp.t option)
ClangPointers.Map.t
IStdlib.IStd.ref
Map from enum constants pointers to their predecesor and their sil value
val global_translation_unit_decls :
ATDGenerated.Clang_ast_t.decl list IStdlib.IStd.ref
val sil_types_map :
IR.Typ.desc Clang_ast_extend.TypePointerMap.t IStdlib.IStd.ref
Map from type pointers (clang pointers and types created later by frontend) to sil types Populated during frontend execution when new type is found
val procedures_attempted : int IStdlib.IStd.ref
val procedures_failed : int IStdlib.IStd.ref