aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2025-02-20 13:07:14 +0100
committerNikita Popov <npopov@redhat.com>2025-02-20 13:08:45 +0100
commit6361a8a1b763d6915636eb8cfaf64f2d8fe60a03 (patch)
treeba78f1cd2c1be205289274bd683f6bf6da7415a4 /clang/lib/Frontend/InitPreprocessor.cpp
parent54f14d96bb275a129321f9377987efcb43d773fa (diff)
downloadllvm-6361a8a1b763d6915636eb8cfaf64f2d8fe60a03.zip
llvm-6361a8a1b763d6915636eb8cfaf64f2d8fe60a03.tar.gz
llvm-6361a8a1b763d6915636eb8cfaf64f2d8fe60a03.tar.bz2
[CaptureTracking] Check for equality predicate for null comparisons
The logic here is not valid for non-equality comparisons. E.g. using slt will leak the sign bit, regardless of whether the pointer is dereferenceable. This fix is split out from https://github.com/llvm/llvm-project/pull/125880.
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions