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

403 commits

Author SHA1 Message Date
Doug Schaefer
3268c4fc9f Patch for John Camelon:
CORE
	Added timing printout for CModelTests.
	Provided partial fix for bug36255 to get past infinite loop, will leave defect open.
	Fixed bug36045 (Again).  
	Fixed bug36287.

TESTS
	Updated ScannerTest::testBug36045().
	Added ScannerTest::testBug36287().
	Added DOMTests::testBug36288().
2003-04-09 14:52:28 +00:00
Doug Schaefer
78e61be446 Patch for John Camelon:
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.
2003-04-08 03:41:05 +00:00
Doug Schaefer
b53b2d419c Patch for Andrew Niefer:
- Rewrote the conversion sequence ranking to better handle all cases.
- Added ParserSymbolTableTest::testOverloadRanking (whose initial
failure prompted the ranking rewrite).
2003-04-07 21:43:01 +00:00
Doug Schaefer
e92be51ca5 Fixed broken .classpath where the parser source folder fell off. 2003-04-07 21:34:58 +00:00
Doug Schaefer
e7a699b56c Updates to the new build model. 2003-04-07 20:56:27 +00:00
Doug Schaefer
ec7c947a6f Yet Another Build Model.
- Defines most of the interfaces
- Some simple implementation behind the interfaces to at
least get information from the extension point.
2003-04-07 02:47:01 +00:00
Doug Schaefer
44aad85270 Patch for John Camelon:
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().
2003-04-06 03:06:22 +00:00
Alain Magloire
b0f43f73ce updated. 2003-04-06 00:33:54 +00:00
Alain Magloire
da81942d76 Get rid of some warnings. 2003-04-06 00:33:45 +00:00
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
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
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
5914d59aca updated 2003-04-01 18:54:16 +00:00
Alain Magloire
073f3d6e2f More tests from John Camelon. 2003-04-01 18:54:08 +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
Alain Magloire
70725d89a4 updated 2003-03-27 16:25:39 +00:00
Alain Magloire
15246be53a *** empty log message *** 2003-03-27 16:16:52 +00:00
Alain Magloire
270cdcae55 Changes was doen int the Core Model:
ICModel, ICProject, ICContainer, ICTranslationUnit
IArchive and IBinary

We now adjust the code
2003-03-27 16:16:46 +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
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
Alain Magloire
e92cfae068 updated. 2003-03-20 16:49:55 +00:00
Alain Magloire
6863655e67 test file for C Element delta. 2003-03-20 16:49:48 +00:00
Alain Magloire
d2ae8c698b New file to test C Element deltas. 2003-03-20 16:49:33 +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
Alain Magloire
bb49936224 updated 2003-03-19 20:37:24 +00:00
Alain Magloire
da490cbd00 Patch from Amer Hoda, to test the Core model working copy 2003-03-19 20:37:16 +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
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
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
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
Sebastien Marineau
ec260cc84a Need constructor to remove compile error 2003-03-06 16:13:24 +00:00
Doug Schaefer
b22cebf8f8 Merge new parser into HEAD branch. 2003-03-04 18:25:45 +00:00
Peter Graves
8eb09aca12 Removed some warnings. 2003-01-29 19:55:12 +00:00
Peter Graves
4acbb7e894 Removed extra spaces. 2003-01-29 17:56:30 +00:00
Judy N. Green
77e7c17c2c Updated all build.properties files and bin jar name 2003-01-06 19:47:36 +00:00
Judy N. Green
881ba68ed2 Added code to include the about.html files 2003-01-03 22:20:12 +00:00
Peter Graves
7e5e732224 Genreral cleanup (remove jdt refrences) and move closer to being automatable 2002-12-17 15:42:17 +00:00
Alain Magloire
eb5c616a90 updated. 2002-11-27 04:52:00 +00:00
Alain Magloire
b04063a504 Use CoreModel.getDefault(). 2002-11-27 04:51:49 +00:00
Peter Graves
d54c3caff1 Updated to refledt api changes, and come CProjectHelper code cleanup 2002-10-30 21:22:32 +00:00
Alain Magloire
abe8e7319c enter .cvsignore. 2002-10-24 12:42:02 +00:00
Peter Graves
3b3e71a2a1 Removed most usage of internal classes in favor of public interfaces. Removed some invalid tests. Come code formating cleanups. 2002-09-30 19:43:26 +00:00