re PR other/59661 (documentation: __builtin_FUNCTION / _FILE listed as returning int)

PR other/59661
	* doc/extend.texi: Fix the return value of __builtin_FUNCTION and
	__builtin_FILE.

From-SVN: r206315
This commit is contained in:
Marek Polacek 2014-01-03 12:28:31 +00:00 committed by Marek Polacek
parent 3bcdbd50ba
commit 56a34230f1
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2014-01-03 Marek Polacek <polacek@redhat.com>
PR other/59661
* doc/extend.texi: Fix the return value of __builtin_FUNCTION and
__builtin_FILE.
2014-01-03 Jakub Jelinek <jakub@redhat.com>
PR target/59625

View File

@ -8728,12 +8728,12 @@ This function is the equivalent to the preprocessor @code{__LINE__}
macro and returns the line number of the invocation of the built-in.
@end deftypefn
@deftypefn {Built-in Function} int __builtin_FUNCTION ()
@deftypefn {Built-in Function} {const char *} __builtin_FUNCTION ()
This function is the equivalent to the preprocessor @code{__FUNCTION__}
macro and returns the function name the invocation of the built-in is in.
@end deftypefn
@deftypefn {Built-in Function} int __builtin_FILE ()
@deftypefn {Built-in Function} {const char *} __builtin_FILE ()
This function is the equivalent to the preprocessor @code{__FILE__}
macro and returns the file name the invocation of the built-in is in.
@end deftypefn