Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.
C aiderastclaude-codecode-analysiscode-intelligencecodexcursorcypherdeveloper-toolsgemini-cligraph-visualizationkilocodeknowledge-graphmcpmcp-servermodel-context-protocolopencodesqlitetree-sitterwindsurf
CI: pin LLVM 20 + cppcheck 2.20 from source, add _DEFAULT_SOURCE for POSIX compat
Martin Vogelac527878c3ae
diff --git a/.clang-tidy b/.clang-tidyindex 7c3ff4df9..ddc48f5e6 100644--- a/.clang-tidy+++ b/.clang-tidy@@ -32,6 +32,8 @@ Checks: >-performance-no-int-to-ptr,-concurrency-mt-unsafe,-cert-err33-c,+ -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,+ -misc-include-cleaner,WarningsAsErrors: '*'diff --git a/.github/workflows/dry-run.yml b/.github/workflows/dry-run.ymlindex d83ae4bdf..18f80c670 100644--- a/.github/workflows/dry-run.yml+++ b/.github/workflows/dry-run.yml@@ -16,14 +16,27 @@ jobs:- name: Install depsrun: |sudo apt-get update- sudo apt-get install -y libsqlite3-dev zlib1g-dev cppcheck+ sudo apt-get install -y libsqlite3-dev zlib1g-dev cmake+ # LLVM 20 from apt.llvm.org (matches Homebrew LLVM)+ wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | sudo tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc+ echo "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-20 main" | sudo tee /etc/apt/sources.list.d/llvm-20.list+ sudo apt-get update+ sudo apt-get install -y clang-format-20 clang-tidy-20+ # cppcheck 2.20 from source (Ubuntu only packages 2.13)+ git clone --depth 1 --branch 2.20 https://github.com/danmar/cppcheck.git /tmp/cppcheck+ cmake -S /tmp/cppcheck -B /tmp/cppcheck/build -DCMAKE_BUILD_TYPE=Release+ cmake --build /tmp/cppcheck/build -j$(nproc)+ sudo cmake --install /tmp/cppcheck/build- name: clang-format- run: make -f Makefile.cbm lint-format CLANG_FORMAT=clang-format-18+ run: make -f Makefile.cbm lint-format CLANG_FORMAT=clang-format-20- name: cppcheckrun: make -f Makefile.cbm lint-cppcheck+ - name: clang-tidy+ run: make -f Makefile.cbm lint-tidy CLANG_TIDY=clang-tidy-20+# ── Step 2: Unit tests (ASan + UBSan) ────────────────────────test:needs: [lint]diff --git a/Makefile.cbm b/Makefile.cbmindex b86dd095a..92741930a 100644--- a/Makefile.cbm+++ b/Makefile.cbm@@ -31,7 +31,7 @@ LIBGIT2_FLAGS =LIBGIT2_LIBS =endif-CFLAGS_COMMON = -std=c11 -Wall -Wextra -Werror \+CFLAGS_COMMON = -std=c11 -D_DEFAULT_SOURCE -Wall -Wextra -Werror \-Wno-unused-parameter -Wno-sign-compare \-Isrc -Ivendored -Ivendored/sqlite3 \-Ivendored/mimalloc/include \