aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/MathExtrasTest.cpp
diff options
context:
space:
mode:
authorsmanna12 <soumi.manna@intel.com>2024-08-19 07:37:06 -0700
committerGitHub <noreply@github.com>2024-08-19 09:37:06 -0500
commit79f6ae05c139d3d5b6446f8a265a3c6e3f5b18f8 (patch)
tree86d17fb065cd5404eb542854f46fea770c667cad /llvm/unittests/Support/MathExtrasTest.cpp
parent4f083c0a2cb1d19942406f7e6e97ae47e8ac91b1 (diff)
downloadllvm-79f6ae05c139d3d5b6446f8a265a3c6e3f5b18f8.zip
llvm-79f6ae05c139d3d5b6446f8a265a3c6e3f5b18f8.tar.gz
llvm-79f6ae05c139d3d5b6446f8a265a3c6e3f5b18f8.tar.bz2
[Clang][NFC] Fix potential null dereference in encodeTypeForFunctionPointerAuth (#104737)
This patch replaces getAs with castAs in encodeTypeForFunctionPointerAuth to prevent dereferencing a potential null pointer, enhancing type safety as reported by static analyzer tool.
Diffstat (limited to 'llvm/unittests/Support/MathExtrasTest.cpp')
0 files changed, 0 insertions, 0 deletions