================ @@ -4453,9 +4453,10 @@ class Sema final : public SemaBase { SourceLocation *ArgLocation = nullptr); /// Determine if type T is a valid subject for a nonnull and similar - /// attributes. By default, we look through references (the behavior used by - /// nonnull), but if the second parameter is true, then we treat a reference - /// type as valid. + /// attributes. Dependent types are considered valid, so they can be checked + /// during instantiation time. By default, we look through references (the + /// behavior used by nonnull), but if the second parameter is true, then we + /// treat a reference type as valid.. ---------------- erichkeane wrote:
```suggestion /// treat a reference type as valid. ``` Missed this! 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