[all-commits] [llvm/llvm-project] 9aa663: [Clang] Fix __is_trivially_equaltiy_comparable doc...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Mon Apr 22 10:26:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9aa663bb9ef3dbab8ccc324ef3df5138aa458fbd
      https://github.com/llvm/llvm-project/commit/9aa663bb9ef3dbab8ccc324ef3df5138aa458fbd
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-04-22 (Mon, 22 Apr 2024)

  Changed paths:
    M clang/docs/LanguageExtensions.rst

  Log Message:
  -----------
  [Clang] Fix __is_trivially_equaltiy_comparable documentation (#88528)

Currently `__is_trivially_equality_comparable` is documented to return
true if comparing the value representation is equivalent to calling the
comparison operator, which is not quite what the trait actually checks.
The traits actually checks that comparing the object representation is
equivalent, which means that there cannot be padding bytes in the type.



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