1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 10:01:11 +02:00

43812: allow repeats of gcc's -Wsuggest-attribute option

This commit is contained in:
Oliver Kiddle 2018-11-12 10:32:15 +01:00
parent d50e204b0c
commit 8d2622ecba
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2018-11-12 Oliver Kiddle <okiddle@yahoo.co.uk>
* 43812: Completion/Unix/Command/_gcc: allow repeats of
the -Wsuggest-attribute option
2018-11-09 Peter Stephenson <p.stephenson@samsung.com>
* 43790: Kamil: Src/utils.c: failed mailstat could leak memory.

View file

@ -646,7 +646,7 @@ args+=(
'-Wstrict-selector-match[Warn if type signatures of candidate methods do not match exactly]'
'-Wstringop-overflow[Warn about buffer overflow in string manipulation functions like memcpy and strcpy. Same as -Wstringop-overflow=]'
'-Wsubobject-linkage[Warn if a class type has a base or a field whose type uses the anonymous namespace or depends on a type with no linkage]'
'-Wsuggest-attribute=-[Warn about functions which might be candidates for __attribute__((const))]:const:(pure const noreturn format)'
'*-Wsuggest-attribute=-[warn about functions that might be candidates for attributes]:attribute:(pure const noreturn format)'
'-Wsuggest-final-methods[Warn about C++ virtual methods where adding final keyword would improve code quality]'
'-Wsuggest-final-types[Warn about C++ polymorphic types where adding final keyword would improve code quality]'
'-Wsuggest-override[Suggest that the override keyword be used when the declaration of a virtual function overrides another]'