1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 01:06:01 +02:00
Commit graph

32 commits

Author SHA1 Message Date
Doug Schaefer
7081cddca6 Patch for John Camelon:
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.
2003-04-04 14:05:22 +00:00
Doug Schaefer
c045393b50 Patch for Hoda Amer:
- Delta Builder Helper Functions in the CModel
- Plus some cleanups
2003-04-04 14:01:31 +00:00
Doug Schaefer
d66e2dca22 Patch for Hoda Amer adds:
- 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.
2003-04-03 15:38:47 +00:00
Doug Schaefer
46d2f50c48 Patch for John Camelon:
CORE
	Updated Scanner to convert ungodly control-characters to ' '.  
	Fixed logic error in model\SimpleDeclarationWrapper.
	Added operator support to grammar (conversion and overloading).  
	Fixed parser/util/Name.toString() to support non-qualified yet multi-part names.
2003-04-03 02:59:58 +00:00
Doug Schaefer
09948618e8 Patch for Andrew Niefer:
- 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.
2003-04-02 13:18:54 +00:00
Doug Schaefer
6b80ff9dd3 Patch for John Camelon:
CORE
 - fixed bug35906
 - updated scanner to not puke on certain control characters

TESTS
 - added testBug35906() to DOMTests.
2003-04-02 13:13:34 +00:00
Alain Magloire
13a2fc941c Fix from John C. 2003-04-01 19:50:53 +00:00
Alain Magloire
aacea7223c Fixed unsigned short Simpledeclartions not showing up in the
outline view
2003-04-01 18:52:37 +00:00
Doug Schaefer
903e1c11d8 Patch for John Camelon:
- Updated NewModelBuilder to work for ElaboratedTypeSpecifiers, PointerOperators, Const Methods.  
- Fixed bug35878.
2003-03-31 21:04:30 +00:00
Doug Schaefer
34877663fe Patch for Andrew Niefer:
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.
2003-03-31 20:43:07 +00:00
Doug Schaefer
daa99a3066 Patch for John C:
- 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.
2003-03-31 16:12:43 +00:00
Doug Schaefer
53b11edee4 Patch for John Camelon:
- 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.
2003-03-29 05:35:50 +00:00
Doug Schaefer
679b7c8db3 Patch for Hoda Amer:
- The static sign will show if the parser sets isStatic() to true
for any element. For now, I am just saving this info in the
element info. We could change it later if we need another
icon for variables and functions.
2003-03-28 21:05:24 +00:00
Doug Schaefer
f77eeb8c08 Patch for Andrew Niefer:
- 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
2003-03-27 03:29:08 +00:00
Doug Schaefer
21e625463a Patch for John Camelon:
- 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
2003-03-26 16:27:44 +00:00
Doug Schaefer
dd13b8fe53 Patch for Hoda Amer:
- updates the C model to enable the Outline view to display
type and visibility info for both fields and methods.
2003-03-26 16:03:03 +00:00
Doug Schaefer
717cbc2041 Patch for John Camelon:
- 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.
2003-03-24 03:04:35 +00:00
Doug Schaefer
c27351afc0 Patch for Andrew Niefer:
Patch for the parser's symbol table.
-friends
-"this" pointer
-enumerators
-argument dependent lookup
-function parameters & function overloading
2003-03-23 14:00:00 +00:00
Doug Schaefer
14f209afac Patch for John Camelon:
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.
2003-03-20 15:13:09 +00:00
Doug Schaefer
7dcd5eaebe Patch for John Camelon - see ChangeLog 2003-03-19 16:12:00 +00:00
Doug Schaefer
c885b918e3 Changed EOF token into a backtrack exception. 2003-03-17 19:48:49 +00:00
Doug Schaefer
e8808fb009 Patch for John Camelon:
- see ChangeLogs
2003-03-17 15:22:05 +00:00
Doug Schaefer
f4b27bf0ee Patch for John Camelon:
- see ChangeLogs
2003-03-12 15:36:06 +00:00
Doug Schaefer
ef11178134 Patch for John Camelon:
- see ChangeLogs
2003-03-12 15:35:41 +00:00
Doug Schaefer
2626b7316b Patch for John Camelon:
- 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
2003-03-11 02:42:47 +00:00
Doug Schaefer
e97cc0fc46 Patch for John Camelon:
- Fixing initDeclarators for outline view
2003-03-07 19:45:52 +00:00
Doug Schaefer
640ec6e2e6 Patch for John Camelon:
- 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)
2003-03-07 13:41:26 +00:00
Doug Schaefer
3ab24c5b3d Some minor fixes to the parser to get constructors/destructors working. 2003-03-06 19:46:28 +00:00
Doug Schaefer
40b44d0371 Patch for John Camelon:
- 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
2003-03-06 19:29:36 +00:00
Doug Schaefer
5c44e281ca Patch for Andrew Niefer:
- Implementation of Namespaces & using directives in 
new parser's symbol table.
2003-03-06 18:42:26 +00:00
Doug Schaefer
ead4068efc Some minor fixes to the parser. 2003-03-05 22:21:29 +00:00
Doug Schaefer
b22cebf8f8 Merge new parser into HEAD branch. 2003-03-04 18:25:45 +00:00