[clang] [BoundsSafety][Sema] Allow counted_by and counted_by_or_null on pointers where the pointee type is incomplete but potentially completable (PR #106321)

Dan Liew via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 24 08:38:50 PDT 2024


================
@@ -3343,6 +3363,8 @@ class CountAttributedType final
   static bool classof(const Type *T) {
     return T->getTypeClass() == CountAttributed;
   }
+
+  StringRef GetAttributeName(bool WithMacroPrefix) const;
----------------
delcypher wrote:

I filed #113585 to track fixing this properly. I don't see a way of fixing this until we have a good way to get the TypeLoc for the attribute (#113582).

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


More information about the cfe-commits mailing list