[all-commits] [llvm/llvm-project] 988fd9: [clang] Implement `__builtin_is_virtual_base_of()`...
Vlad Serebrennikov via All-commits
all-commits at lists.llvm.org
Fri Jul 26 00:10:15 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 988fd956e776bad8057a8b7ee051a524308c097b
https://github.com/llvm/llvm-project/commit/988fd956e776bad8057a8b7ee051a524308c097b
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/TokenKinds.def
M clang/lib/Sema/SemaExprCXX.cpp
M clang/test/SemaCXX/type-traits.cpp
Log Message:
-----------
[clang] Implement `__builtin_is_virtual_base_of()` intrinsic (#100393)
This patch adds compiler support for
[P2985R0](https://wg21.link/p2985r0) "A type trait for detecting virtual
base classes".
Like we recently did with `__is_layout_compatible()` and
`__is_pointer_interconvertible_base_of()`, we support it only in C++
mode, and reject VLAs.
Resolves #98310.
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