Track clang-p2996 issues that affect this repository

Đang mở
#277 0 bình luận 1 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@philipcraig đang làm issue này rồi.

Từ ngày 1/9/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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).

Ngôn ngữ chính
C++
Star
12
Fork
4
Merge trung bình
1 ngày 11 giờ
Pull request đã merge (30 ngày)
15

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của jbcoe/cc-protocol

Tất cả issue của jbcoe/cc-protocol

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.