From 071d7956e68585772df45293542e1e397c28ac8a Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Sat, 2 May 2020 00:47:13 +0000 Subject: 45752/0001: _gcc: Add .cpp and .hpp to the ignored extensions list. --- Completion/Unix/Command/_gcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Unix') diff --git a/Completion/Unix/Command/_gcc b/Completion/Unix/Command/_gcc index 9ec09200e..4e81247d4 100644 --- a/Completion/Unix/Command/_gcc +++ b/Completion/Unix/Command/_gcc @@ -390,7 +390,7 @@ languages=( # generic options (from --help) args+=( '-###[print commands to run this compilation]' - '-o:output file:_files -g "^*.(c|h|cc|C|cxx)(-.)"' + '-o:output file:_files -g "^*.(c|h|cc|C|cxx|cpp|hpp)(-.)"' '-x[Specify the language of the following input files]:input file language:('"$languages"')' '+e-:virtual function definitions in classes:((0\:only\ interface 1\:generate\ code))' '-d-:dump:->dump' -- cgit 1.4.1