Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Stornelli2020-06-23 16:10:45 +0000
committerMarco Stornelli2020-06-25 05:09:48 +0000
commit530818839f64287c527b6b67985a7a1b527138aa (patch)
tree058d0d7267d6cbcefe701888c9ac6e8b3fe6ed87
parent1a4736c7250c39c8ac436dd31425cc3f8f7f112b (diff)
downloadorg.eclipse.cdt-530818839f64287c527b6b67985a7a1b527138aa.tar.gz
org.eclipse.cdt-530818839f64287c527b6b67985a7a1b527138aa.tar.xz
org.eclipse.cdt-530818839f64287c527b6b67985a7a1b527138aa.zip
Bug 564586 - Fix auto complete for final and override keywords
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/token/KeywordSets.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/token/KeywordSets.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/token/KeywordSets.java
index f2edfaf1f96..8fe672ed025 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/token/KeywordSets.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/token/KeywordSets.java
@@ -416,6 +416,7 @@ public class KeywordSets {
ALL_CPP.add(Keywords.EXPORT);
ALL_CPP.add(Keywords.EXTERN);
ALL_CPP.add(Keywords.FALSE);
+ ALL_CPP.add(Keywords.FINAL);
ALL_CPP.add(Keywords.FLOAT);
ALL_CPP.add(Keywords.FOR);
ALL_CPP.add(Keywords.FRIEND);
@@ -434,6 +435,7 @@ public class KeywordSets {
ALL_CPP.add(Keywords.OPERATOR);
ALL_CPP.add(Keywords.OR);
ALL_CPP.add(Keywords.OR_EQ);
+ ALL_CPP.add(Keywords.OVERRIDE);
ALL_CPP.add(Keywords.PRIVATE);
ALL_CPP.add(Keywords.PROTECTED);
ALL_CPP.add(Keywords.PUBLIC);
@@ -512,6 +514,7 @@ public class KeywordSets {
KEYWORDS_CPP.add(Keywords.EXPORT);
KEYWORDS_CPP.add(Keywords.EXTERN);
KEYWORDS_CPP.add(Keywords.FALSE);
+ KEYWORDS_CPP.add(Keywords.FINAL);
KEYWORDS_CPP.add(Keywords.FLOAT);
KEYWORDS_CPP.add(Keywords.FOR);
KEYWORDS_CPP.add(Keywords.FRIEND);
@@ -530,6 +533,7 @@ public class KeywordSets {
KEYWORDS_CPP.add(Keywords.OPERATOR);
KEYWORDS_CPP.add(Keywords.OR);
KEYWORDS_CPP.add(Keywords.OR_EQ);
+ KEYWORDS_CPP.add(Keywords.OVERRIDE);
KEYWORDS_CPP.add(Keywords.PRIVATE);
KEYWORDS_CPP.add(Keywords.PROTECTED);
KEYWORDS_CPP.add(Keywords.PUBLIC);

Back to the top