aboutsummaryrefslogtreecommitdiff
path: root/clang/tools/include-mapping/cppreference_parser.py
diff options
context:
space:
mode:
authorBalazs Benics <benicsbalazs@gmail.com>2023-01-12 10:42:57 +0100
committerBalazs Benics <benicsbalazs@gmail.com>2023-01-12 10:42:57 +0100
commit840edd8ab2620a52e9acbef7de037c9f465dfce7 (patch)
treefb77158b6d48cf83d577f196c7444bb56092ba54 /clang/tools/include-mapping/cppreference_parser.py
parent4921b0a285ace77b7a3d5b9502b8602134daee0d (diff)
downloadllvm-840edd8ab2620a52e9acbef7de037c9f465dfce7.zip
llvm-840edd8ab2620a52e9acbef7de037c9f465dfce7.tar.gz
llvm-840edd8ab2620a52e9acbef7de037c9f465dfce7.tar.bz2
[analyzer] Don't escape local static memregions on bind
When the engine processes a store to a variable, it will eventually call `ExprEngine::processPointerEscapedOnBind()`. This function is supposed to invalidate (put the given locations to an escape list) the locations which we cannot reason about. Unfortunately, local static variables are also put into this list. This patch relaxes the guard condition, so that beyond stack variables, static local variables are also ignored. Differential Revision: https://reviews.llvm.org/D139534
Diffstat (limited to 'clang/tools/include-mapping/cppreference_parser.py')
0 files changed, 0 insertions, 0 deletions