[all-commits] [llvm/llvm-project] 64f0f7: __has_trivial_copy should map to __is_trivially_c...

Zachary Henkel via All-commits all-commits at lists.llvm.org
Sat Aug 13 12:55:16 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 64f0f7e6460019a38fe2f1cbe4b9446a3268af18
  Author: Zachary Henkel <zahen at microsoft.com>
  Date:   2022-08-13 (Sat, 13 Aug 2022)

  Changed paths:
    M clang/docs/LanguageExtensions.rst
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/test/SemaCXX/deprecated-builtins.cpp

  Log Message:
   __has_trivial_copy should map to __is_trivially_copyable

Found during clang 15 RC1 testing due to the new diagnostic added by @royjacobson since clang 14.  Uncertain if this fix meets the bar to also be applied to the release branch.

If accepted, I'll need someone with commit access to submit on my behalf.

Reviewed By: royjacobson, aaron.ballman, erichkeane

Differential Revision: https://reviews.llvm.org/D131730

More information about the All-commits mailing list