diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2014-12-07 00:51:37 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2014-12-07 00:51:37 +0000 |
commit | 8c8d3b4c128996f8188d76a0fe61e79b8304f0a8 (patch) | |
tree | f3d8d5234b9ed11ee5407f9c7c4dfbd6b4901212 /gcc | |
parent | 4cbc054ed65880cda8fe2749cae770f139cc0599 (diff) | |
download | gcc-8c8d3b4c128996f8188d76a0fe61e79b8304f0a8.zip gcc-8c8d3b4c128996f8188d76a0fe61e79b8304f0a8.tar.gz gcc-8c8d3b4c128996f8188d76a0fe61e79b8304f0a8.tar.bz2 |
* doc/invoke.texi (Warning Options): Fix spelling and grammar.
From-SVN: r218461
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 23 |
2 files changed, 17 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6cfd339..676ffae 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2014-12-07 Jonathan Wakely <jwakely@redhat.com> + + * doc/invoke.texi (Warning Options): Fix spelling and grammar. + 2014-12-06 James Greenhalgh <james.greenhalgh@arm.com> Sebastian Pop <s.pop@samsung.com> Brian Rzycki <b.rzycki@samsung.com> diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 70d1336..d2f3c79 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -4240,20 +4240,22 @@ appropriate may not be detected. @opindex Wno-suggest-final-types @opindex Wsuggest-final-types Warn about types with virtual methods where code quality would be improved -if the type was declared with C++11 final specifier, or, if possible, -declared in anonymous namespace. This allows GCC to devritualize more aggressively -the polymorphic calls. This warning is more effective with link time optimization, -where the information about the class hiearchy graph is more complete. +if the type was declared with the C++11 final specifier, or, if possible, +declared in an anonymous namespace. This allows GCC to more aggressively +devirtualize the polymorphic calls. This warning is more effective with link +time optimization, where the information about the class hierarchy graph is +more complete. @item -Wsuggest-final-methods @opindex Wno-suggest-final-methods @opindex Wsuggest-final-methods Warn about virtual methods where code quality would be improved if the method -was declared with C++11 final specifier, or, if possible, its type was declared -in the anonymous namespace or with final specifier. This warning is more -effective with link time optimization, where the information about the class -hiearchy graph is more complete. It is recommended to first consider suggestins -of @option{-Wsuggest-final-types} and then rebuild with new annotations. +was declared with the C++11 final specifier, or, if possible, its type was +declared in an anonymous namespace or with the final specifier. This warning is +more effective with link time optimization, where the information about the +class hierarchy graph is more complete. It is recommended to first consider +suggestions of @option{-Wsuggest-final-types} and then rebuild with new +annotations. @item -Warray-bounds @opindex Wno-array-bounds @@ -4288,7 +4290,8 @@ can be used to suppress such a warning. @opindex Wincompatible-pointer-types Do not warn when there is a conversion between pointers that have incompatible types. This warning is for cases not covered by @option{-Wno-pointer-sign}, -which warns for pointer argument passing or assignment with different signedness +which warns for pointer argument passing or assignment with different +signedness. @item -Wno-int-conversion @r{(C and Objective-C only)} @opindex Wno-int-conversion |