Files
playbook/templates/cpp/.clangd
T
csh e504a689dc 📝 docs(playbook): add contributing and multi-language standards
Introduce C++ and Python docs/templates and split .agents rulesets by language (tsl/cpp/python).

Move commit message guidance to CONTRIBUTING.md (full spec remains in docs/common/commit_message.md).
2025-12-14 17:32:50 +08:00

26 lines
557 B
YAML

CompileFlags:
# Point clangd to a CMake compilation database (compile_commands.json).
#
# Recommended: keep this aligned with your Conan/CMake preset output directory.
# Example (this playbook's default cross build folder):
CompilationDatabase: build/windows-x86_64-clang-cross/Release
---
If:
PathMatch: [.*\\.hpp, .*\\.hxx, .*\\.cpp, .*\\.cc, .*\\.cxx, .*\\.cppm, .*\\.ixx, .*\\.mpp]
CompileFlags:
Add:
- "-std=c++23"
Compiler: clang++
---
If:
PathMatch: [.*\\.h, .*\\.c]
CompileFlags:
Add:
- "-std=c17"
Compiler: clang