[clang] Disallow btf_type_tag in C++ mode (PR #107238)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 4 08:07:07 PDT 2024


================
@@ -225,6 +225,11 @@ Attribute Changes in Clang
   more cases where the returned reference outlives the object.
   (#GH100567)
 
+- Now correctly diagnosing use of ``btf_type_tag`` in C++ and ignoring it; this
+  attribute is a C-only attribute, and was causing crashes with template
----------------
erichkeane wrote:

```suggestion
  attribute is a C-only attribute, and caused crashes with template
```

https://github.com/llvm/llvm-project/pull/107238


More information about the cfe-commits mailing list