1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 14:12:10 +02:00

Fixed compilation errors.

This commit is contained in:
Sergey Prigogin 2012-12-28 14:06:56 -08:00
parent 36d093704f
commit aefea16bcf
2 changed files with 29 additions and 33 deletions

View file

@ -54,17 +54,17 @@ public class LRTests extends AST2Tests {
@Override @Override
public void testTypenameInExpression() throws Exception {} public void testTypenameInExpression() throws Exception {}
@Override @Override
public void testParamWithFunctionType_Bug84242() throws Exception {} public void testParamWithFunctionType_84242() throws Exception {}
@Override @Override
public void testParamWithFunctionTypeCpp_Bug84242() throws Exception {} public void testParamWithFunctionTypeCpp_84242() throws Exception {}
@Override @Override
public void testFunctionReturningPtrToArray_Bug216609() throws Exception {} public void testFunctionReturningPtrToArray_216609() throws Exception {}
@Override @Override
public void testNestedFunctionDeclarators() throws Exception {} public void testNestedFunctionDeclarators() throws Exception {}
@Override @Override
public void testConstantExpressionBinding() throws Exception {} public void testConstantExpressionBinding() throws Exception {}
@Override @Override
public void testAmbiguousDeclaration_Bug259373() throws Exception {} public void testAmbiguousDeclaration_259373() throws Exception {}
@Override @Override
public void testSizeofFunctionType_252243() throws Exception {} public void testSizeofFunctionType_252243() throws Exception {}
@Override @Override
@ -76,7 +76,7 @@ public class LRTests extends AST2Tests {
@Override @Override
public void testEmptyTrailingMacro_303152() throws Exception {} public void testEmptyTrailingMacro_303152() throws Exception {}
@Override // not applicable to lr parser memory usage. @Override // not applicable to lr parser memory usage.
public void testLargeTrivialAggregateInitializer_Bug253690() throws Exception{} public void testLargeTrivialAggregateInitializer_253690() throws Exception{}
@Override @Override
protected IASTTranslationUnit parse( String code, ParserLanguage lang, boolean useGNUExtensions, boolean expectNoProblems ) throws ParserException { protected IASTTranslationUnit parse( String code, ParserLanguage lang, boolean useGNUExtensions, boolean expectNoProblems ) throws ParserException {
@ -162,10 +162,10 @@ public class LRTests extends AST2Tests {
* it would be easy to fix this bug. * it would be easy to fix this bug.
*/ */
@Override @Override
public void testScalabilityOfLargeTrivialInitializer_Bug253690() { } public void testScalabilityOfLargeTrivialInitializer_253690() { }
public void _testScalabilityOfLargeTrivialInitializer_Bug253690() throws Exception { public void _testScalabilityOfLargeTrivialInitializer_253690() throws Exception {
super.testScalabilityOfLargeTrivialInitializer_Bug253690(); super.testScalabilityOfLargeTrivialInitializer_253690();
} }
@ -175,9 +175,9 @@ public class LRTests extends AST2Tests {
* difficult so defer it to the future. * difficult so defer it to the future.
*/ */
@Override @Override
public void testBinaryVsCastAmbiguities_Bug237057() { } public void testBinaryVsCastAmbiguities_237057() { }
public void _testBinaryVsCastAmbiguities_Bug237057() throws Exception { public void _testBinaryVsCastAmbiguities_237057() throws Exception {
super.testBinaryVsCastAmbiguities_Bug237057(); super.testBinaryVsCastAmbiguities_237057();
} }
@ -187,19 +187,17 @@ public class LRTests extends AST2Tests {
* difficult so defer it to the future. * difficult so defer it to the future.
*/ */
@Override @Override
public void testCastVsFunctionCallAmbiguities_Bug237057() { } public void testCastVsFunctionCallAmbiguities_237057() { }
public void _testCastVsFunctionCallAmbiguities_Bug237057() throws Exception { public void _testCastVsFunctionCallAmbiguities_237057() throws Exception {
super.testCastVsFunctionCallAmbiguities_Bug237057(); super.testCastVsFunctionCallAmbiguities_237057();
} }
/* The LR parser generates the AST for switch statements /* The LR parser generates the AST for switch statements
* differently than the DOM parser. * differently than the DOM parser.
*/ */
@Override @Override
public void testCaseRange_Bug211882() { } public void testCaseRange_211882() { }
public void _testCaseRange_Bug211882() throws Exception { public void _testCaseRange_211882() throws Exception {
super.testCaseRange_Bug211882(); super.testCaseRange_211882();
} }
} }

View file

@ -41,29 +41,29 @@ public class UPCTests extends LRTests {
@Override @Override
public void testBug191450_attributesInBetweenPointers() throws Exception {} public void testBug191450_attributesInBetweenPointers() throws Exception {}
@Override @Override
public void testOmittedPositiveExpression_Bug212905() throws Exception {} public void testOmittedPositiveExpression_212905() throws Exception {}
@Override @Override
public void testRedefinedGCCKeywords_Bug226112() throws Exception {} public void testRedefinedGCCKeywords_226112() throws Exception {}
@Override @Override
public void testASMLabels_Bug226121() throws Exception {} public void testASMLabels_226121() throws Exception {}
@Override @Override
public void testCompoundStatementExpression_Bug226274() throws Exception {} public void testCompoundStatementExpression_226274() throws Exception {}
@Override @Override
public void testTypeofUnaryExpression_Bug226492() throws Exception {} public void testTypeofUnaryExpression_226492() throws Exception {}
@Override @Override
public void testTypeofExpression_Bug226492() throws Exception {} public void testTypeofExpression_226492() throws Exception {}
@Override @Override
public void testTypeofExpressionWithAttribute_Bug226492() throws Exception {} public void testTypeofExpressionWithAttribute_226492() throws Exception {}
@Override @Override
public void testAttributeInElaboratedTypeSpecifier_Bug227085() throws Exception {} public void testAttributeInElaboratedTypeSpecifier_227085() throws Exception {}
@Override @Override
public void testRedefinePtrdiff_Bug230895() throws Exception {} public void testRedefinePtrdiff_230895() throws Exception {}
@Override @Override
public void testDeclspecInEnumSpecifier_bug241203() throws Exception {} public void testDeclspecInEnumSpecifier_241203() throws Exception {}
@Override @Override
public void testBuiltinTypesCompatible_bug241570() throws Exception {} public void testBuiltinTypesCompatible_241570() throws Exception {}
@Override @Override
public void testThreadLocalVariables_Bug260387() throws Exception {} public void testThreadLocalVariables_260387() throws Exception {}
@Override @Override
public void testVaArgWithFunctionPtr_311030() throws Exception {} public void testVaArgWithFunctionPtr_311030() throws Exception {}
@Override @Override
@ -71,10 +71,8 @@ public class UPCTests extends LRTests {
@Override @Override
public void testPtrDiffRecursion_317004() throws Exception {} public void testPtrDiffRecursion_317004() throws Exception {}
@Override @Override
protected ILanguage getCLanguage() { protected ILanguage getCLanguage() {
return UPCLanguage.getDefault(); return UPCLanguage.getDefault();
} }
} }