Skip to main content

Module compile_context

Module compile_context 

Source
Expand description

compile_commands.json ingestion.

analyzer/cpp/mod.rs keeps the OnceLock<CppCompileContexts> that memoizes CppCompileContexts::load per analyzer generation; the database format and the argument grammar are here.

Structs§

CppCompileContext
The compiler configuration Bifrost can safely use for one source file.
CppCompileContexts

Enums§

CompiledLanguage
The language a compile-database entry says its translation unit is compiled as. See CppCompileContext::tu_language.
CppExternalIncludeResolution
What all compile configurations for one source prove about an angle include.

Functions§

is_cpp_compile_context_input
Whether file is the workspace compilation database consumed by CppCompileContexts::load.