diff options
author | smanna12 <soumi.manna@intel.com> | 2024-08-19 07:37:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-19 09:37:06 -0500 |
commit | 79f6ae05c139d3d5b6446f8a265a3c6e3f5b18f8 (patch) | |
tree | 86d17fb065cd5404eb542854f46fea770c667cad /llvm/unittests/Support/MathExtrasTest.cpp | |
parent | 4f083c0a2cb1d19942406f7e6e97ae47e8ac91b1 (diff) | |
download | llvm-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