[clang] [clang][analyzer] Support `PointerType` in `getCXXRecordDecl` for `ContainerModeling` (PR #87787)

2024-04-05 Thread Junjie Shen via cfe-commits
https://github.com/shenjunjiekoda updated https://github.com/llvm/llvm-project/pull/87787 >From 2f82a7c0f627fc594ed7cd9b92b464856a364cec Mon Sep 17 00:00:00 2001 From: Shenjunjie Date: Fri, 5 Apr 2024 10:35:03 -0400 Subject: [PATCH] [clang][analyzer] Support `PointerType` in `getCXXRecordDecl`

[clang] [clang][analyzer] Support `PointerType` in `getCXXRecordDecl` for `ContainerModeling` (PR #87787)

2024-04-05 Thread Junjie Shen via cfe-commits
https://github.com/shenjunjiekoda created https://github.com/llvm/llvm-project/pull/87787 ## Summary Static analysis for container models with pointer iterators lacked proper support, failing to detect invalidated iterator access in cases involving `PointerType`s. This change enhanced static