================
@@ -1216,6 +1216,8 @@ static void handlePreferredName(Sema &S, Decl *D, const 
ParsedAttr &AL) {
 }
 
 bool Sema::isValidPointerAttrType(QualType T, bool RefOkay) {
+  if (T->isDependentType())
----------------
erichkeane wrote:

Probably valuable to audit the other uses of this function well, and remove 
checks for dependence there as redundant.  And probably ensure the 
documentation of this function mentions that it skips on dependence.

https://github.com/llvm/llvm-project/pull/111573
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to