]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc: fix documentation of -Wsfinae-incomplete [PR123639]
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Tue, 20 Jan 2026 13:58:33 +0000 (14:58 +0100)
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Tue, 20 Jan 2026 17:43:17 +0000 (18:43 +0100)
An @item directive was missing, making the documentation appear
incorrectly as part of -Wno-exceptions.

PR c++/123639

gcc/ChangeLog:

* doc/invoke.texi: Add @item for -Wsfinae-incomplete.

gcc/doc/invoke.texi

index ba26986bd874f33643cafd998771b51188c70ad1..3671a49f03a716c67b016712ef9517cbb37ccaf5 100644 (file)
@@ -4563,6 +4563,7 @@ another handler, which can point out a wrong ordering of exception handlers.
 
 @opindex Wsfinae-incomplete
 @opindex Wno-sfinae-incomplete
+@item -Wsfinae-incomplete @r{(C++ and Objective-C++ only)}
 Warn about a class that is found to be incomplete, or a function with
 auto return type that has not yet been deduced, in a context where
 that causes substitution failure rather than an error, and then the