[clang] [clang] Extend lifetime analysis to support assignments for pointer-like objects. (PR #99032)
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 17 03:39:39 PDT 2024
================
@@ -966,7 +969,8 @@ static bool pathOnlyInitializesGslPointer(IndirectLocalPath &Path) {
if (It.Kind == IndirectLocalPathEntry::LifetimeBoundCall)
----------------
hokein wrote:
Rewrote the `if` with the `switch`.
https://github.com/llvm/llvm-project/pull/99032
More information about the cfe-commits
mailing list