[all-commits] [llvm/llvm-project] 286955: [Sema] HLSLCompareFloatingRank - don't dereference...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Thu Jun 27 04:30:29 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 286955caa32b5b9fd959176c85ffb925e8093a0d
https://github.com/llvm/llvm-project/commit/286955caa32b5b9fd959176c85ffb925e8093a0d
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaOverload.cpp
Log Message:
-----------
[Sema] HLSLCompareFloatingRank - don't dereference getAs<> results
Use castAs<> to assert the cast is valid to help avoid null dereferences
Fixes static analyser warning
Commit: 3d7d246977b4fdcdc7e601cc9dc0165a0558c4df
https://github.com/llvm/llvm-project/commit/3d7d246977b4fdcdc7e601cc9dc0165a0558c4df
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-27 (Thu, 27 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RICSV] PerformDAGCombine - don't directly dereference dyn_cast results
Use cast<> to assert the cast is valid to help avoid null dereferences
Fixes static analyser warnings
Compare: https://github.com/llvm/llvm-project/compare/06079233f863...3d7d246977b4
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list