[clang] [Thread Safety Analysis] Fix a bug of context saving in alias-analysis (PR #178825)
Ziqing Luo via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 29 19:49:39 PST 2026
================
@@ -726,11 +726,10 @@ void VarMapBuilder::VisitCallExpr(const CallExpr *CE) {
}
}
- if (VDec && Ctx.lookup(VDec)) {
----------------
ziqingluo-90 wrote:
`VMap->clearDefinition` does check if the context contains `VDec`, so this check is redundant.
https://github.com/llvm/llvm-project/pull/178825
More information about the cfe-commits
mailing list