[all-commits] [llvm/llvm-project] 7e0375: Disallow btf_type_tag in C++ mode (#107238)

Aaron Ballman via All-commits all-commits at lists.llvm.org
Wed Sep 4 09:33:26 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e03753539baaaa7a5cc29da3c0dc4d2f6df3b58
      https://github.com/llvm/llvm-project/commit/7e03753539baaaa7a5cc29da3c0dc4d2f6df3b58
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-09-04 (Wed, 04 Sep 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaType.cpp
    A clang/test/Sema/attr-btf_type_tag.cpp
    M clang/test/SemaCXX/sugar-common-types.cpp
    M clang/test/SemaCXX/type-traits.cpp

  Log Message:
  -----------
  Disallow btf_type_tag in C++ mode (#107238)

This was always intended to be disallowed in C++ (see the definition in
Attr.td), but failed to add the correct checking code in SemaType.cpp to
ensure it was rejected.

Fixes #106864



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list