Generate Compilation Database for Use with 'Clang' Tools
Add to ignore file
Generate Compilation Database for Use with Clang Tools
Generate Compilation Database for Use with Clang Tools
Determine Path to Makevars File and Check if it Already Exists
Check Whether a Clang Toolchain is Being Used
Checks that We are on a Unix Platform
Many modern C/C++ development tools in the 'clang' toolchain, such as 'clang-tidy' or 'clangd', rely on the presence of a compilation database in JSON format <https://clang.llvm.org/docs/JSONCompilationDatabase.html>. This package temporarily injects additional build flags into the R build process to generate such a compilation database.