[clang] [Clang] Fix warning for non std functions with name `infinity` (PR #123417)

Amr Hesham via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 18 10:25:27 PST 2025


================
@@ -8469,7 +8489,7 @@ void Sema::CheckInfNaNFunction(const CallExpr *Call,
     bool IsInfOrIsFinite =
----------------
AmrDeveloper wrote:

I think it's better now, early return if there is no identifier and check `NoHonor.. `first before checking for function name

https://github.com/llvm/llvm-project/pull/123417


More information about the cfe-commits mailing list