[clang] [clang] Add a common definition of isPointerLikeType for lifetime analysis (PR #117315)
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 28 04:11:45 PST 2024
================
@@ -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);
----------------
hokein wrote:
Oh, nice! Moving to `checkExprLifetime.h` makes more sense.
https://github.com/llvm/llvm-project/pull/117315
More information about the cfe-commits
mailing list