[all-commits] [llvm/llvm-project] c22ec9: [Clang][Sema] Add nullptr check in IsFunctionConve...
Shafik Yaghmour via All-commits
all-commits at lists.llvm.org
Thu Aug 14 18:43:20 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c22ec9cde3708e0c7afd0909508a67ef9625aa4c
https://github.com/llvm/llvm-project/commit/c22ec9cde3708e0c7afd0909508a67ef9625aa4c
Author: Shafik Yaghmour <shafik.yaghmour at intel.com>
Date: 2025-08-14 (Thu, 14 Aug 2025)
Changed paths:
M clang/lib/Sema/SemaOverload.cpp
Log Message:
-----------
[Clang][Sema] Add nullptr check in IsFunctionConversion (#153710)
Static analysis flagged this code b/c ToFPT could be nullptr but we were
not checking it even though in the previous if statement we did. It
looks like this was a mistaken refactor from:
https://github.com/llvm/llvm-project/pull/135836
In the older code ToFPT was set using a cast which would have asserted
but no longer in the new code.
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