A compilation database holds all information used to compile files in a project. For each file in the database, it can be queried for the working directory or the command line used for the compiler invocation.
\brief Represents the command line invocation to compile a specific file.
\brief Contains the results of a search in the compilation database
\brief Error codes for Compilation Database
\brief Free the given compilation database
\brief Creates a compilation database from the database found in directory buildDir. For example, CMake can output a compile_commands.json which can be used to build the database.
\brief Get all the compile commands in the given compilation database.
\brief Find the compile commands used for a file. The compile commands must be freed by \c clang_CompileCommands_dispose.
\brief Get the I'th argument value in the compiler invocations
\brief Get the working directory where the CompileCommand was executed from
\brief Get the filename associated with the CompileCommand.
\brief Get the I'th mapped source content for the compiler invocation.
\brief Get the I'th mapped source path for the compiler invocation.
\brief Get the number of arguments in the compiler invocation.
\brief Get the number of source mappings for the compiler invocation.
\brief Free the given CompileCommands
\brief Get the I'th CompileCommand for a file
\brief Get the number of CompileCommand we have for a file