Fixed Bug36799 STL Testing: Parser fails on Variable Definition
TESTS
Moved fixed tests from FailedTests to DOMTests.
Added DOMTests::testBug36799().
Cleaned up tests to reduce amount of code necessary to maintain these things.
JohnC
This patch fixes 2 scanner bugs:
Bug36816 Scanner infinite loop on incomplete #include
Bug36255 Parser hangs/goes infinite
This patch also introduces a new automated test,
FractionalAutomatedTest, which tests the parser on incomplete files.
Fixed bug36693 - Problem parsing Loki's Reference SmallObj.cpp Impl
Fixed bug36696 - Problem parsing Loki's Reference SmartPtr.h Impl
Improved our error handling robustness so that we don't mistake function bodies for CElements.
Fixed bug36713 - Parser fails on definitions of pointers to functions
Fixed Dave's performance test parse failure.
Fixed bug36811 - The using directive causes parser to fail
Fixed bug36794 - ClassCastException for A template with no parameters
TESTS
Moved fixed tests from FailedTests to DOMTests.
Added LokiFailures.java to failed tests directory.
JohnC
Added DomFailedTest::testBug36769
Added DomFailedTest::testBug36771
Fixed AutomatedTest to handle files with commas in their names
Added ScannerTestCase::testBug36770
-reversed the change to the ICElement interface.
-solves the method template with body bug
-solves bug #36726: ElementDeltaTests::testElementDeltas()
failure in Junit
automatically copy over their configs (however now they do for
targets defined at the extension point).
- Config elements and attributes are now saved in the cdtbuild file, but
not any children.
CORE/UI
Fixed Bug36551 Bad parse on attached file.
Partial Fix for Bug36631 remove linear search algorithm from OffsetMapping
TESTS
Added DOMTests::testBug36551().
Adjusted AutomatedTest to turn on line numbering.
Added DOMFailedTests and 11 failed test cases.
Changed CModelElementTests so that I can get on with my work.
Fixed Bug36475 - Scanner does not concatenate strings
Fixed Bug36509 - Scanner turns strings into identifiers when expanding macros
Fixed Bug36521 - Scanner gets confused over commas in function like macros
Fixed Bug36695 - Scanner looses escaping on chars (ie '\4' to '4')
Moved ScannerFailedTest::testBug36475 to ScannerTestCase::testBug36475()
Moved ScannerFailedTest::testBug36509 to ScannerTestCase::testBug36509()
Moved ScannerFailedTest::testBug36521 to ScannerTestCase::testBug36521()
Added ScannerTestCase::testBug36695()
Updated ScannerTestCase::testBug36047
Updated ScannerTestCase::testBug36045
- Fix for bug 36506: Bad Signature For main
- Fix for bug 36498: outline view signature incorrect for templated
functions/methods
- JUnit tests for C Model Elements.
CORE
Fixed bug36434 - Broken outline in winbase.h
Partial Fix for bug36379 - The parser to set Line informations when
scanning.
Fixed CModelManager to include header files with .H extension as C++
headers.
Fixed bug36448 - Parser fails for C programs containing C++ keywords
as identifiers
TESTS
Added ScannerTestCase::testBug36434().
Added ScannerTestCase::testMultipleLines().
Added ParserTestSuite.
Added LineNumberTest.
Updated CModelElementsTests to set the Nature of the C++ project
appropriately.
CORE
Minor cleanup of callbacks due to removal of NewModelBuilder.
Added parser support to partially fix bug36416 & bug36294. Also
added minimal C-Model support for these fixes.
TESTS
Added DOMTests::testPointersToFunctions.
CORE
Minimized the number of objects being returned from Parser
callbacks.
Fixed CModelBuilder to handle errors better.
Reorganized the DOM Hierarchy to ensure that nodes were added to the
tree on End() callbacks.
Fixed defect 36247().
TESTS
Added DOMTests::testBug36247().
CORE
Removed all the old Code Model Builder source that was no longer being used (NewModelBuilder.java, etc.).
Moved all the files in parser.util directory to the dom.
Organized imports.
Fixed bug36250 Parser ignores functions with default parameters that have no name.
Fixed bug36240 Parser incorrectly parses operator=
Fixed bug36254 Parser doesn't recognize unsigned as a type by itself.
TESTS
Organized imports.
Added DOMTests::testTemplateDeclarationOfMethod().
Added DOMTests::testBug36250().
Added DOMTests::testBug36240().
Added DOMTests::testBug36254().
patch_04.08.03(cdt.core).txt
user defined conversions by operator
patch_04.08.04(cdt.ui.tests).txt
added ParserSymbolTableTest::testUserDefinedConversionByOperator()
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.