diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/cxx17/FoldExpressionTests.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/cxx17/FoldExpressionTests.java index 809441ef404..92640328fa8 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/cxx17/FoldExpressionTests.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/cxx17/FoldExpressionTests.java @@ -105,7 +105,7 @@ public class FoldExpressionTests extends AST2CPPTestBase { // } public void testFoldExpressionRecognition1() throws Exception { final String code = getAboveComment(); - IASTTranslationUnit tu = parse(code, CPP, false, false); + IASTTranslationUnit tu = parse(code, CPP, ScannerKind.STD, false); ICPPASTTemplateDeclaration tdef = getDeclaration(tu, 0); IASTFunctionDefinition fdef = (IASTFunctionDefinition) tdef.getDeclaration(); IASTProblemStatement p1 = getStatement(fdef, 0); @@ -117,7 +117,7 @@ public class FoldExpressionTests extends AST2CPPTestBase { // } public void testFoldExpressionRecognition2() throws Exception { final String code = getAboveComment(); - IASTTranslationUnit tu = parse(code, CPP, false, false); + IASTTranslationUnit tu = parse(code, CPP, ScannerKind.STD, false); ICPPASTTemplateDeclaration tdef = getDeclaration(tu, 0); IASTFunctionDefinition fdef = (IASTFunctionDefinition) tdef.getDeclaration(); IASTProblemStatement p1 = getStatement(fdef, 0); diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTFoldExpression.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTFoldExpression.java index a295fdfd42c..fb6497bde80 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTFoldExpression.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTFoldExpression.java @@ -16,7 +16,7 @@ package org.eclipse.cdt.core.dom.ast.cpp; /** * Fold expression, introduced in C++17. * - * @since 8.0 + * @since 8.1 * @noextend This interface is not intended to be extended by clients. * @noimplement This interface is not intended to be implemented by clients. */