[all-commits] [llvm/llvm-project] 620953: [libc] Fix warning in libc/utils/MPCWrapper/MPCUti...

Jorge Gorbe Moya via All-commits all-commits at lists.llvm.org
Fri Feb 28 19:41:04 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 620953328dc768ef6b205077214a01ae0579975c
      https://github.com/llvm/llvm-project/commit/620953328dc768ef6b205077214a01ae0579975c
  Author: Jorge Gorbe Moya <jgorbe at google.com>
  Date:   2025-02-28 (Fri, 28 Feb 2025)

  Changed paths:
    M libc/utils/MPCWrapper/MPCUtils.h

  Log Message:
  -----------
  [libc] Fix warning in libc/utils/MPCWrapper/MPCUtils.h (#129349)

`cpp::is_complex_type_same<T1, T2>` is a function, so we need
parentheses in order to call it. Otherwise the expression is treated
like a function pointer which is always true in this boolean context.



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