CORE
Brought DOM up to par wrt functionality with Code Model.
Added isFunctionDefinition() to SimpleDeclaration.
Added visiblity indicators for member declarations.
Added offset information that was previously unavailable.
Added preprocessor statements (inclusions, macros) to DOM.
Updated TypeSpecifier hierarchy to allow for parameter declarations to own elaborated types.
Added new constructor to parser to aid testing.
Fixed bug36065.
TESTS
Added testMemberDeclarations(), testPreprocessor(),
testElaboratedParms() to DOMTests.
CORE
Fixed defect 36073.
Fixed error handling for unterminated strings in Scanner.
Fixed offset for inclusions in the outline view.
Significantly updated callback structure to better suite the nature of the Code Model.
Updated all callbacks and parser to accommodate altered callbacks.
TESTS
Added DOMTests::testBug36073().
CORE
Fixed defects 36019, 36020, 36045.
Finished template declarations and their callbacks for the DOM (not the Code Model).
TESTS
Updated ScannerTest::testSimpleIfdef() for bug36019.
Updated ScannerTest::testNumerics() for bug36020.
Added ScannerTest::testBug36045().
Updated DOMTests::testTemplateDeclaration() for template grammar updates.
- the support for namespaces in the NewModelBuilder.
- an icon for extern variables.
- a JUnit test case for core model elements, including namespaces. The enum_obj_gif should overwrite the existing file.
- Modified lookup with respect to resolving ambiguous names,
reducing the number of temporary lists/sets.
- Modified adding using declarations to properly support overloaded
functions.
- Added initial support for user defined conversion sequences when
resolving overloaded functions.
Core: (patch_03.31.03(cdt.core).txt)
Modifications to function resolution to better support pointers, references and typedefs.
Tests: (patch_03.31.03(cdt.ui.tests).txt)
Renamed testFunctionResolution_2 to testfunctionResolution_PointersAndBaseClasses.
Modified function tests to reflect changes made to the handling of parameters. Added testFunctionResolution_TypedefsAndPointers.
- Core Changes
- Updated Scanner to work for Strings literals like L"this string"
- Updated Scanner to work for floating points literals.
- Updated Scanner to be more forgiving on errors in QuickScan mode.
- Got template instantiation and specialization working (w/callbacks and DOM).
- Updated Parser/Callbacks for handle pure virtual function declarations.
- Added callback support for some template declarations (nested not included).
- Test Changes
- Added testWeirdStrings() and testNumerics() to ScannerTestCase.
- Added testTemplateSpecialization(), testTemplateDeclaration(), testBug26467(),
testTypedef() and testTemplateInstantiation() to DOMTests.
- Added AccessSpecifier and ClassKind to parser.util package and refactored callbacks.
- Better encapsulated ExceptionSpecification in the DOM.
- Updated DOM structures to return unmodifiable collections.
- Added callback support for asmdefinitions.
- Added callback support for constructor initializer chains.
- Fixed bug 35781 and updated parser to catch all exceptions from callbacks to ensure best-effort parsing.
- Removed Main.java from Parser package.
- Updated tests.
- This patch contains my initial implementation of standard conversion
sequences for function resolution in the Parser's symbol Table.
- Also, the type information has been pulled out of the Declaration object and
placed in util.TypeInfo
- Added callback support for namespace definitions.
- Updated Parser exception handling strategy.
- Added callback support for linkage specifications.
- Added callback support for using declarations and directives. Added callback support for enumerations.
- Made DOM Name usage consistent.
- Updated DOMTests
- Added callback support for class member visibility.
- Added callback support for pointer and reference operators on declarators.
- Added callback support for throws clauses an const operations.
- Added callback support for array declarators.
- Updated parser tests to assist in this effort.
CDT Core Patch
2003-03-19 John Camelon
Updated Parser method visibility to solidify external interface.
Solved and removed TODO's from Scanner implementation.
Updated Parser and callbacks to handle basic expressions.
CDT UI Tests Patch
2003-03-19 John Camelon
Updated DOMTests for assignmentExpressions off of declarators.
Updated ExprEvalTest for Parser signature changes relating to adjustments to Expression callbacks.
- added in support for detecting and reporting circular inclusions
- added optimization by caching inclusion directories
- added macro pasting capabilities and tests
- updated inclusion searching algorithm for local inclusions
- added quickParse heuristic to Scanner for handling #if conditionals to
avoid throwing ScannerExceptions on undefined preprocessor symbols
- added minimal enum support to Parser (though not to DOM or CModel)
- fixed qualified name offsets in outline view
- added loop-detection code to Parser
- added Scanner testcase to validate Sebastien's comments
- first pass at basic declarator initializers