[all-commits] [llvm/llvm-project] 645180: [Clang] Require base element type of `__has_unique...

Mital Ashok via All-commits all-commits at lists.llvm.org
Wed Jul 17 06:19:44 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6451806ef73bb033be3f6e1599f3bcb224943206
      https://github.com/llvm/llvm-project/commit/6451806ef73bb033be3f6e1599f3bcb224943206
  Author: Mital Ashok <mital at mitalashok.co.uk>
  Date:   2024-07-17 (Wed, 17 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/test/SemaCXX/type-traits.cpp

  Log Message:
  -----------
  [Clang] Require base element type of `__has_unique_object_representations` to be complete (#95432)

Fixes #95311

Previous behaviour was that `false` was silently returned, templated
classes were not instantiated and incomplete classes did not issue an
error.

---------

Co-authored-by: cor3ntin <corentinjabot at gmail.com>



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