This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RFA: hook doc patch (8/112): TARGET_MS_BITFIELD_LAYOUT_P
- From: Joern Rennecke <amylaar at spamcop dot net>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 15 Jan 2010 12:19:00 -0500
- Subject: RFA: hook doc patch (8/112): TARGET_MS_BITFIELD_LAYOUT_P
2010-01-15 Joern Rennecke <amylaar@spamcop.net>
* tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Fix argument type.
Index: tm.texi
===================================================================
--- tm.texi (revision 155367)
+++ tm.texi (working copy)
@@ -1444,7 +1453,7 @@ floating-point arithmetic.
The default definition of this macro returns false for all sizes.
@end defmac
-@deftypefn {Target Hook} bool TARGET_MS_BITFIELD_LAYOUT_P (tree @var{record_type})
+@deftypefn {Target Hook} bool TARGET_MS_BITFIELD_LAYOUT_P (const_tree @var{record_type})
This target hook returns @code{true} if bit-fields in the given
@var{record_type} are to be laid out following the rules of Microsoft
Visual C/C++, namely: (i) a bit-field won't share the same storage