[all-commits] [llvm/llvm-project] e80cb5: [WebKit Checkers][NFC] Extract hasGuardian from is...

geoffreygaren via All-commits all-commits at lists.llvm.org
Fri Sep 18 21:40:16 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e80cb508f0ab3b916873b8a4939203cd5d36901a
      https://github.com/llvm/llvm-project/commit/e80cb508f0ab3b916873b8a4939203cd5d36901a
  Author: geoffreygaren <ggaren at apple.com>
  Date:   2026-09-18 (Fri, 18 Sep 2026)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefLocalVarsChecker.cpp

  Log Message:
  -----------
  [WebKit Checkers][NFC] Extract hasGuardian from isPtrOriginSafe in RawPtrRefLocalVarsChecker (#224726)

So an upcoming borrow checker can skip it.

(A guardian variable is an independent declaration that ensures a
lifetime. Borrow checking does not accept guardian variables because
they do not convey `lifetimebound` links.)

Assisted-by: Claude



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list