Skip to content

Support for compile_commands.json/clangd#87

Merged
alan-george-lk merged 2 commits intomainfrom
feature/compile_commands
Apr 8, 2026
Merged

Support for compile_commands.json/clangd#87
alan-george-lk merged 2 commits intomainfrom
feature/compile_commands

Conversation

@alan-george-lk
Copy link
Copy Markdown
Contributor

@alan-george-lk alan-george-lk commented Apr 8, 2026

This PR adds support for compile_commands.json (Mac/Linux). This is implemented using CMake's built-in feature, but additionally the build script symlinks the file to the root of the directory (but is .gitignore'd).

This enables a few features:

  • Intellisense autocomplete via VSCode/Cursor extension llvm-vs-code-extensions.vscode-clangd
  • clang-tidy support in a future PR for static analysis checks on the repository

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 8, 2026

CLA assistant check
All committers have signed the CLA.

@alan-george-lk alan-george-lk force-pushed the feature/compile_commands branch from f7888f3 to d5dc8c7 Compare April 8, 2026 04:53
@alan-george-lk alan-george-lk changed the title Draft - Support for compile_commands.json/clangd Support for compile_commands.json/clangd Apr 8, 2026
@alan-george-lk alan-george-lk merged commit a9b271f into main Apr 8, 2026
12 checks passed
@alan-george-lk alan-george-lk deleted the feature/compile_commands branch April 8, 2026 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants