Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHansruedi Patzen2018-05-17 12:15:49 +0000
committerThomas Corbat2018-06-01 14:22:37 +0000
commit278979870c35e7eb8c11a7acefd692b0c5e9079b (patch)
treef4a8403154949a36f8fd6f4668ba618d79b1cf47 /core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPNodeFactory.java
parent45279d5ffc88c4c9345c9b5c156f962053ff5189 (diff)
downloadorg.eclipse.cdt-278979870c35e7eb8c11a7acefd692b0c5e9079b.tar.gz
org.eclipse.cdt-278979870c35e7eb8c11a7acefd692b0c5e9079b.tar.xz
org.eclipse.cdt-278979870c35e7eb8c11a7acefd692b0c5e9079b.zip
Bug 534808 - static_assert without message not recognized (C++17)
Fix and test Change-Id: I785ecfd0715f1fa8ff86b87bd01d16ac6d5d5da2 Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch> Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
Diffstat (limited to 'core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPNodeFactory.java')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPNodeFactory.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPNodeFactory.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPNodeFactory.java
index 1abf3349655..659b040f4d9 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPNodeFactory.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPNodeFactory.java
@@ -333,6 +333,11 @@ public interface ICPPNodeFactory extends INodeFactory {
*/
public ICPPASTStaticAssertDeclaration newStaticAssertion(IASTExpression condition, ICPPASTLiteralExpression message);
+ /**
+ * @since 6.5
+ */
+ public ICPPASTStaticAssertDeclaration newStaticAssertion(IASTExpression condition);
+
public ICPPASTSwitchStatement newSwitchStatement();
public ICPPASTSwitchStatement newSwitchStatement(IASTDeclaration controller, IASTStatement body);

Back to the top