================ @@ -1763,6 +1763,8 @@ class Sema final : public SemaBase { /// Add [[gsl::Pointer]] attributes for std:: types. void inferGslPointerAttribute(TypedefNameDecl *TD); + static bool isPointerLikeType(QualType QT); ---------------- usx95 wrote:
Added comments. Also moved to CheckExprLifetime.h. I guess that is better to avoid wrong usages. https://github.com/llvm/llvm-project/pull/117315 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits