Track clang-p2996 issues that affect this repository

Aperta
#277 0 commenti 1 reazione 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@philipcraig ci sta già lavorando.

Dal 1/9/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Upstream bugs in bloomberg/clang-p2996 that we work around or that constrain how we use the fork's clang-tidy. When one is fixed: bump .github/clang-p2996-commit, confirm the Clang Tidy job is green, and either remove the workaround or note here why it stays.

Upstream Symptom here Workaround When fixed
#342, fixed by PR #353 (merged 2026-09-24 as f17c8d6c); pin bump in #456 ^^derived::operator() rejected when the call operator comes from a using-declaration ("cannot take the reflection of a using-declarator"); rejects-valid, GCC accepts #276 excludes types with base classes from is_maybe_lambda Keep the exclusion; closure types have no bases, so it remains a correct refinement. With the #456 pin, is_protocol_conformant_v no longer needs it to pass clang-tidy.
#349, fixed by PR #351 (merged 2026-09-08 as bde8bcf3); pin bumped in #316 define_aggregate with a member type spelled as a qualified name under a pointer or cv-qualifier (^^const std::type_info*) yields a field with a broken qualifier location; clang-tidy's renamer checks segfault (#306 CI) None on main: #306 landed after the pin bump and spells ^^const std::type_info* inline, so the alias workaround was never merged Done. The fix is in the type-location filler, not define_aggregate, so any spelled qualified type under a pointer or cv-qualifier is covered.
#350, fixed by PR #352 (merged 2026-09-12 as 0664c3f6); pin bump in #357 vtable->[:entry:] on an lvalue pointer trips "-> base must be a pointer prvalue" in assertion-enabled builds only; release builds (CI) are unaffected None in code; the constraint was not to build the pinned toolchain with LLVM_ENABLE_ASSERTIONS=ON for use on this code Done; nothing to remove. Assertion-enabled local builds of the pinned toolchain compile protocol.hh, and array->[:m:] also works.
#356 (open; upstream llvm-project#118386, assigned, no PR) P3068R6 constant-evaluation exceptions are not implemented and __cpp_constexpr_exceptions is not defined; a static_assert that catches a consteval rejection does not compile under clang-tidy. A missing feature rather than a bug Rejection tests in conformance_tests.cc sit behind #ifdef __cpp_constexpr_exceptions, so they run on GCC only Bump the pin, then remove the #ifdef guards and the comment on conformance_check_rejects
#200 (open), fix PR #357 (open) parent_of of an alias of a class template specialization is the template's parent, so a member alias is not seen as a class member: is_public/is_private are false, is_accessible is true, and members_of(^^protocol<I>, access_context::unprivileged()) returns the private alias traits while allocator_type is not public; wrong answer, GCC is right #449 compares reserved_member_names with protocol's public members on GCC only (#ifndef __clang__ in conformance_tests.cc) Remove the #ifndef __clang__

Not bugs, noted so they are not re-reported: #230 (^^std::int32_t rejected; [expr.reflect]/5.1 applies to the identifier form).

Lingua principale
C++
Stelle
12
Fork
4
Merge medio
1g 11h
PR unite (30g)
15

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di jbcoe/cc-protocol

Tutte le issue di jbcoe/cc-protocol

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.