Skip to content

Commit

Permalink
Add c18, gnu18, c++20, gnu++20, c++23, gnu++23 to gcc completion
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Sep 23, 2024
1 parent ec57ac0 commit adf3272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Completion/Unix/Command/_gcc
Original file line number Diff line number Diff line change
Expand Up @@ -2111,7 +2111,7 @@ args+=(
'-s[remove all symbol table and relocation information from the executable]'
'-static-libgcc[force static libgcc]'
'-static[on systems that support dynamic linking, this prevents linking with the shared libraries]'
{'-std=-','--std='}'[assume that the input sources are for specified standard]:standard:(c90 c89 iso9899\:1990 iso9899\:199409 c99 iso9899\:1999 c11 iso9899\:2011 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 iso9899\:2017 gnu++17 c++2a gnu++2a)'
{'-std=-','--std='}'[assume that the input sources are for specified standard]:standard:(c90 c89 iso9899\:1990 iso9899\:199409 c99 iso9899\:1999 c11 c18 iso9899\:2011 gnu90 gnu89 gnu99 gnu11 gnu18 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 iso9899\:2017 gnu++17 c++2a gnu++2a c++20 gnu++20 c++23 gnu++23)'
'-symbolic[bind references to global symbols when building a shared object]'
'--sysroot=-[use <directory> as the root directory for headers and libraries]:directory:_files -/'
'--target-help[display target specific command line options]'
Expand Down

0 comments on commit adf3272

Please sign in to comment.