aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/AnalysisBasedWarnings.cpp
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2025-02-16 14:53:41 +0100
committerMarco Elver <elver@google.com>2025-02-26 16:34:33 +0100
commit3c8c0d4d8d9bbc160d160e683f7a74fd28574dc6 (patch)
tree590858e82edbebf498f0f77d13a165d6e8d77385 /clang/lib/Sema/AnalysisBasedWarnings.cpp
parent5c8e22bb2653b5229cb90b9e28c4a19692a2445b (diff)
downloadllvm-3c8c0d4d8d9bbc160d160e683f7a74fd28574dc6.zip
llvm-3c8c0d4d8d9bbc160d160e683f7a74fd28574dc6.tar.gz
llvm-3c8c0d4d8d9bbc160d160e683f7a74fd28574dc6.tar.bz2
Thread Safety Analysis: Handle address-of followed by dereference
Correctly analyze expressions where the address of a guarded variable is taken and immediately dereferenced, such as (*(type-specifier *)&x). Previously, such patterns would result in false negatives. Pull Request: https://github.com/llvm/llvm-project/pull/127396
Diffstat (limited to 'clang/lib/Sema/AnalysisBasedWarnings.cpp')
0 files changed, 0 insertions, 0 deletions