[all-commits] [llvm/llvm-project] 5d7357: [Clang] Fix definition of layout-compatible to ign...
Mital Ashok via All-commits
all-commits at lists.llvm.org
Thu Aug 1 07:06:08 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5d7357cc9ee84578e7142c5fa7c03b1331cba6d2
https://github.com/llvm/llvm-project/commit/5d7357cc9ee84578e7142c5fa7c03b1331cba6d2
Author: Mital Ashok <mital at mitalashok.co.uk>
Date: 2024-08-01 (Thu, 01 Aug 2024)
Changed paths:
M clang/include/clang/AST/DeclCXX.h
M clang/lib/AST/DeclCXX.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/test/SemaCXX/type-traits.cpp
M llvm/include/llvm/ADT/STLExtras.h
Log Message:
-----------
[Clang] Fix definition of layout-compatible to ignore empty classes (#92103)
Also changes the behaviour of `__builtin_is_layout_compatible`
None of the historic nor the current definition of layout-compatible
classes mention anything about base classes (other than implicitly
through being standard-layout) and are defined in terms of members, not
direct members.
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