Repository navigation
Add C++ API surface checking - #756
Conversation
|
Documentation preview for this pull request is available at: |
PandaeDo
left a comment
There was a problem hiding this comment.
One point to resolve before merge, or as a follow-up issue:
Second LLVM toolchain / ToDo in MODULE.bazel
api_surface_llvm is the same LLVM 22.1.7 as the existing llvm_toolchain, differing only in stdlib = libc++ vs. stdc++. The checker README uses @llvm_toolchain//:cc-clang-x86_64-linux as default.
Could you try cc_toolchain = "@llvm_toolchain//:cc-clang-x86_64-linux" and run //tools/api_surface:check?
- If it passes with an unchanged lock file → drop
api_surface_llvmand the ToDo. - If not → keep it, but replace the ToDo with a short rationale (hermetic parsing independent of host GCC headers).
This review was prepared with AI support (Claude Code) and checked by me.
2d9172d to
86a420e
Compare
Make unintended declaration changes visible without blocking the initial rollout. Closes eclipse-score#755 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
86a420e to
759feef
Compare
for now "own" toolchain will be kept ... will start the discussion if there is a solution to provide one via eclipse-score/bazel_cpp_toolchains |
Start with a non-blocking Linux x86-64 API check so its output can be evaluated before enforcement. Product and coverage toolchains remain unchanged; Rust and QNX API checking are out of scope.
Closes #755
Validation