Removed some warnings.
Fixed Bug 39678 : Scanner doesn't support concatenation of different-type string literals (GCC)
Refactored ScannerContext to use constructors rather than initializers.
Refactored IScannerContext to use enumeration-esque kinds.
Added code assist/selection search support to Scanner.
TESTS
Removed some warnings.
Moved testBug39678() from ASTFailedTests to QuickParseASTTests.
This patch changes the handling of ambiguities during prefix lookup.
It also addresses problems in the symbol table to do with qualified
lookup. Fixing these revealed problems caused by the
CompleteParseASTFactory not always using the correct lookup functions. So
the factory has been modified to call the appropriate lookups.
The following tests have been created:
FailedCompleteParseASTTest.testBug47926
CompleteParseASTTest.testQualifiedLookup
ParserSymbolTableTest.testPrefixLookup_Ambiguities
ParserSymbolTableTest.testQualifiedUnqualifiedLookup
FunctionMethodPatternTests.testLookupForDefinition
CompleteParseASTFactory should use the symbol table's elaboratedLookup
instead of qualifiedLookup when it encounters an elaborated type
specifier.
Core:
change createElaboratedTypeSpecifier to call
IContainerSymbol.elaboratedLookup
Core.tests
add CompleteParseASTTest.testBug47624
Core:
In prefix lookup, the lookup does not stop when a symbol is found, also abiguity resolution is modified.
Add IContainerSymbol.prefixLookup (signature subject to change)
Add ParserSymbolTable.LookupMode, an enum with 2 values: NORMAL, PREFIX
In prefix mode, the lookup does not stop when a symbol is found.
Tests:
ParserSymbolTableTest.testBug46882
ParserSymbolTableTest.testPrefixLookup_Unqualified
ParserSymbolTableTest.testPrefixLookup_Qualified
ParserSymbolTableTest.testPrefixLookup_Inheritance
- upgrade plugin.xml files
- use PDE containers
- apply Eclipse 3.0 porting items, in particular openEditor and gotoMarker
- remove TestWorkbenches from test plugins
Refactor the symbol table by splitting the ParserSymbolTable.Declaration
class in 4 classes and moving it to not be nested
Tests have been updated and tested on windows & Linux
Fixed Bug 44838 : exception when resolving parameter references in a constructor
Fixed Bug 46165 : fields referenced in constructor chains are not called back upon
Fixed Bug 45551 : Macro replacement in #include <file.h> directives
TESTS
Added CompleteParseASTTest::testBug44838().
Added CompleteParseASTTest::testBug46165().
Added ScannerTestCase::testBug45551().
Cleaned up the ParserFactory interface to check for validity of input arguments.
Moved NullSourceElementRequestor and ScannerInfo to public interface as requested.
Restructured code so that no Eclipse/CDT source outside the parser source directory is used.
Updated parser clients to use new ParserFactory (stand-alone parser work item).
UI & TESTS
Updated parser clients to use new ParserFactory (stand-alone parser work item).
Removed warnings from parser source tree.
Removed preliminary task tags support to clean up parser interfaces and implementation.
Added preliminary IProblem support to
UI
Updated parser clients to use new IProblem strategy.
TESTS
Updated parser clients to use new IProblem strategy.
core:
Fixed Bug 44925 : Search: Elaborated type specifier
Partially Fixed Bug 44510 : C/C++ Search gives wrong results
ui:
Fixed Bug 44337 : Disabling of "definition" not making sense in Search
dialog
Fixed Bug 44947 : Navigate from Outline: Enumeration type not
pre-populated
Fixed Bug 44948 : Navigate via Open Declarations: typedef decl not found