Skip to content

Commit 0c93727

Browse files
committed
[Clang] Fix __is_trivially_equaltiy_comparable documentation
1 parent 5752e31 commit 0c93727

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/docs/LanguageExtensions.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1640,7 +1640,8 @@ The following type trait primitives are supported by Clang. Those traits marked
16401640
were made trivially relocatable via the ``clang::trivial_abi`` attribute.
16411641
* ``__is_trivially_equality_comparable`` (Clang): Returns true if comparing two
16421642
objects of the provided type is known to be equivalent to comparing their
1643-
value representations.
1643+
object representations. Note that types containing padding bytes are never
1644+
trivially equality comparable.
16441645
* ``__is_unbounded_array`` (C++, GNU, Microsoft, Embarcadero)
16451646
* ``__is_union`` (C++, GNU, Microsoft, Embarcadero)
16461647
* ``__is_unsigned`` (C++, Embarcadero):

0 commit comments

Comments
 (0)