[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Applied [HEAD] w/modifications Re: [cdt-patch] Bug43110 - Parser support needed for functions with ellipses
|
Refactored AST nodes to use IParameterizedSymbol's info for takeVarArgs()
.
JohnC
Andrew Niefer/Ottawa/IBM@IBMCA
Sent by: cdt-patch-admin@xxxxxxxxxxx
01/08/2004 06:06 PM
Please respond to
cdt-patch
To
cdt-patch@xxxxxxxxxxx
cc
Subject
[cdt-patch] Bug43110 - Parser support needed for functions with ellipses
This patch modifies the symbol table (and a little bit in the parser) to
address bug 43110, handling of functions with ellipses (var args)
Core:
Added IParameterizedSymbol.setHasVariableArgs() &
hasVariableArgs()
Modified ParserSymbolTable.resolveFunction & reduceToViable
Modified CompleteParseASTFactory.createMethod & createFunction
Tests:
Added CompleteParseASTTest.testBug43110_XRef
Added ParserSymbolTableTest.testBug43110_Ellipses
Added ParserSymbolTableTest.testBug43110_EllipsesRanking
Added ParserSymbolTableTest.testBug43110_EllipsesRanking_2
Tested on windows
-Andrew
[attachment "43110.core.txt" deleted by John Camelon/Ottawa/IBM]
[attachment "43110.core.tests.txt" deleted by John Camelon/Ottawa/IBM]