1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-07-15 18:11:25 +02:00

github : Add newer C++ standard options to gcc completion

This commit is contained in:
Ferenc- 2018-02-17 20:28:57 +01:00 committed by Oliver Kiddle
parent f5d0111e15
commit c3133f5eb1
2 changed files with 4 additions and 1 deletions
ChangeLog
Completion/Unix/Command

View file

@ -1,5 +1,8 @@
2018-03-07 Oliver Kiddle <okiddle@yahoo.co.uk>
* github #22: Ferenc-: Completion/Unix/Command/_gcc:
Add newer C++ standard options to gcc completion
* github #23: Matthijs Tijink: Completion/X/Command/_kdeconnect:
new kdeconnect-cli completion

View file

@ -353,7 +353,7 @@ args+=(
'-print-file-name=-[Display the full path to library <library>]:library:->library'
'-print-prog-name=-[Display the full path to compiler component <program>]:program:'
'*-specs=-[Override built-in specs with the contents of <file>]:file:_files'
'-std=-[assume that the input sources are for specified standard]:standard:(c90 c89 c99 c11 gnu90 gnu89 gnu99 gnu11 c++98 c++03 gnu++98 gnu++03 c++11 gnu++11 c++1y gnu++1y c++14 gnu++14 c++1z gnu++1z)'
'-std=-[assume that the input sources are for specified standard]:standard:(c90 c89 c99 c11 gnu90 gnu89 gnu99 gnu11 c++98 c++03 gnu++98 gnu++03 c++11 gnu++11 c++1y gnu++1y c++14 gnu++14 c++1z gnu++1z c++17 gnu++17 c++2a gnu++2a)'
'*-include:include file:_files -g \*.h\(-.\)'
'*-imacros:macro input file:_files -g \*.h\(-.\)'
'*-idirafter:second include path directory:_files -/'