[clang] [clang] Extend lifetime analysis to support assignments for pointer-like objects. (PR #99032)

Utkarsh Saxena via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 16 16:28:11 PDT 2024


================
@@ -966,7 +969,8 @@ static bool pathOnlyInitializesGslPointer(IndirectLocalPath &Path) {
     if (It.Kind == IndirectLocalPathEntry::LifetimeBoundCall)
----------------
usx95 wrote:

nit: merge the first 3 `if` into a single one.  I feel it makes it clear that outcome is same for them.

https://github.com/llvm/llvm-project/pull/99032


More information about the cfe-commits mailing list