aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ExecutionEngine/Orc/ObjectLinkingLayerTest.cpp
diff options
context:
space:
mode:
authorThurston Dang <thurston@google.com>2025-10-23 23:24:39 +0000
committerGitHub <noreply@github.com>2025-10-23 23:24:39 +0000
commitcea8ffa5f3412a58adc5c9c4b0ad0e31869f6e3d (patch)
tree9d496ed32dc223aa34f67a613da2fc67ee0b3ab5 /llvm/unittests/ExecutionEngine/Orc/ObjectLinkingLayerTest.cpp
parent0e8781100357b46c9ec6cd2e31a635ad2b2b3211 (diff)
downloadllvm-cea8ffa5f3412a58adc5c9c4b0ad0e31869f6e3d.zip
llvm-cea8ffa5f3412a58adc5c9c4b0ad0e31869f6e3d.tar.gz
llvm-cea8ffa5f3412a58adc5c9c4b0ad0e31869f6e3d.tar.bz2
[asan] Avoid -Wpointer-bool-conversion warning by comparing to nullptr (#164906)
The current code may trigger a compiler warning: ``` address of function 'wcsnlen' will always evaluate to 'true' [-Wpointer-bool-conversion] ``` Fix this by comparing to nullptr. The same fix is applied to strnlen for future-proofing.
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/ObjectLinkingLayerTest.cpp')
0 files changed, 0 insertions, 0 deletions