[clang] Disallow btf_type_tag in C++ mode (PR #107238)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 4 07:50:40 PDT 2024
================
@@ -6490,6 +6490,15 @@ static void HandleBTFTypeTagAttribute(QualType &Type, const ParsedAttr &Attr,
TypeProcessingState &State) {
Sema &S = State.getSema();
+ // This attribute is only supported in C.
+ // FIXME: we should implement checkCommonAttributeFeatures() in SemaAttr.cpp
----------------
AaronBallman wrote:
https://github.com/llvm/llvm-project/issues/107249 for the bounds-safety related attributes
https://github.com/llvm/llvm-project/issues/107252 for the `lifetimebound` attribute
https://github.com/llvm/llvm-project/pull/107238
More information about the cfe-commits
mailing list