John Camelon
ae4dff5290
Implemented IASTTranslationUnit#getIncludeDirectives() for both C & C++.
...
Implemented IASTTranslationUnit#getMacroDefinitions() for both C & C++.
2005-01-25 20:42:19 +00:00
Andrew Niefer
06739b170f
- remove IBinding.getPhysicalNode, add private interfaces ICBinding & ICPPBinding
...
- constructor references in new expressions
- get bindings from scope as shortcut
2005-01-24 22:38:34 +00:00
Alain Magloire
abd661fca1
Implementation of the CreateXXXOperation classes
2005-01-24 05:42:39 +00:00
Andrew Niefer
0988982be3
- Modify CVisitor.visit* to enable better control over visiting the AST.
...
- Merge ClearBindingAction & ClearBindingFromScopeAction
- Modify CollectDeclarationsAction to avoid creating bindings as much as possible
2005-01-23 18:23:31 +00:00
Alain Magloire
a09eaa034f
2005-01-22 Alain Magloire
...
PR 38958
Part implementation of the CreateXXXOperation classes.
* model/org/eclipse/cdt/core/model/ICElement.java
* model/org/eclipse/cdt/core/model/IStructure.java
* model/org/eclipse/cdt/core/model/IStructureDeclaration.java
* model/org/eclipse/cdt/internal/core/model/CModelBuiilder.java
* model/org/eclipse/cdt/internal/core/model/CModelOperation.java
* model/org/eclipse/cdt/internal/core/model/CopyElementOperation.java
* model/org/eclipse/cdt/internal/core/model/CreateElementIntTUOperation.java
* model/org/eclipse/cdt/internal/core/model/CreateFieldOperation.java
* model/org/eclipse/cdt/internal/core/model/CreateIncludeOperation.java
* model/org/eclipse/cdt/internal/core/model/CreateMethodOperation.java
* model/org/eclipse/cdt/internal/core/model/CreateSourceReferenceOperation.java
* model/org/eclipse/cdt/internal/core/model/FuntionInfo.java
* model/org/eclipse/cdt/internal/core/model/FuntionDeclaration.java
* model/org/eclipse/cdt/internal/core/model/Structure.java
* model/org/eclipse/cdt/internal/core/model/StructureDeclaratin.java
* model/org/eclipse/cdt/internal/core/model/StructureInfo.java
* model/org/eclipse/cdt/internal/core/model/MethodInfo.java
* model/org/eclipse/cdt/internal/core/model/util.java
* model/org/eclipse/cdt/internal/core/model/SurceManipulationInfo.java
2005-01-23 04:44:37 +00:00
John Camelon
e22c304553
IASTNodeLocation support for #inclusions.
2005-01-21 21:12:17 +00:00
Andrew Niefer
0f10569314
Bindings in the new Parser:
...
- Class Scopes
- Implicit member functions
2005-01-21 21:07:42 +00:00
John Camelon
f8c0954d72
Patch for Devin Steffler.
...
This patch updates the following for the K&R C support in GNUCSourceParser:
- updated the existing K&R C tests to test CTranslationUnit#getDeclarations(IBinding) and CVisitor.clearBindings(IASTTranslationUnit)
- GNUCSourceParser now uses simpleDeclaration instead of parseDeclarationOrExpression when parsing the K&R C Parameter Declarations
- added a couple more tests
- fixed a couple K&R C bugs related to CVisitor/CStructure
2005-01-21 15:08:59 +00:00
Andrew Niefer
285899775a
Step 1 in supporting user defined conversion sequences during function resolution.
...
- add ITypeContainer#setType( IType )
- make IType extend Cloneable and implement clone() for the types.
2005-01-20 16:36:58 +00:00
Alain Magloire
c73a71269c
Wrong PR number it should be 83224
2005-01-19 21:31:36 +00:00
Alain Magloire
6e57e1adfc
2005-01-19 Alain Magloire
...
PR 83152
* model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java
2005-01-19 21:27:31 +00:00
John Camelon
8d833f012a
Patch for Devin Steffler.
...
This patch adds basic K&R C support to the GNUCSourceParser.
- added support for K&R C syntax
- added support for ASTProblemDeclaration with faulty K&R C syntax
- added simple tests
2005-01-19 20:24:01 +00:00
Alain Magloire
8006bc409b
2005-01-19 Alain Magloire
...
PR 83151
* model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java
2005-01-19 19:41:37 +00:00
John Camelon
2a48843261
Some refactoring of class names.
...
Consistency is key.
2005-01-19 15:21:38 +00:00
Andrew Niefer
9e5cafe0d9
handle namespace that are split into pieces
2005-01-18 22:00:09 +00:00
David Inglis
7cbf02c426
fixed bug #82705
2005-01-18 20:14:39 +00:00
John Camelon
0a8634d93f
Base case DOMScanner/LocationMap support.
2005-01-18 19:46:43 +00:00
Andrew Niefer
2713b4695c
initial work for IProblemBindings
2005-01-18 15:45:05 +00:00
Andrew Niefer
3ba300630d
patch from Devin Steffler: field designators
2005-01-17 19:07:16 +00:00
Andrew Niefer
8ee8577dc8
tests :
...
- method reference after function call eg: get()->size()
2005-01-17 16:24:30 +00:00
Andrew Niefer
60e3bceae6
expanding the CompleteParser2Tests
...
-fixes for method references
2005-01-14 21:47:13 +00:00
Andrew Niefer
4dcca4a96a
Patch from Devin Steffler: getDeclarations
2005-01-14 16:52:45 +00:00
John Camelon
a36a7f8613
Warning.
2005-01-14 16:43:41 +00:00
John Camelon
9e365df5f5
Slow road for IASTNodeLocation.
2005-01-14 16:35:02 +00:00
Andrew Niefer
8d0a12de55
Label bindings in the new parser
2005-01-14 16:34:59 +00:00
Andrew Niefer
c20d990dc3
patch from Devin Steffler:
...
removing IBindings from IScopes
2005-01-13 20:29:34 +00:00
John Camelon
ea5fe525ea
Removed lastToken from DOM Parsers.
2005-01-12 16:43:43 +00:00
John Camelon
cdfc350d10
Added lengths to ASTNodes.
2005-01-12 02:16:26 +00:00
David Inglis
dd9f4af843
FIXED bug # 82572
2005-01-11 18:45:57 +00:00
John Camelon
0f2803f134
Patch for Devin Steffler.
...
This patch adds getProblems() to the CVisitor and CPPVisitor classes. This is required to get IASTProblems since the new parser doesn't use a callback anymore.
Also, updated tests accordingly.
2005-01-10 21:11:53 +00:00
Alain Magloire
e0d1a45365
2005-01-07 Alain Magloire
...
Fix PR 82202
* model/org/eclipse/cdt/internal/core/model/CElement.java
* model/org/eclipse/cdt/internal/core/model/Openable.java
2005-01-07 17:50:11 +00:00
Chris Wiebe
c44a67648d
2005-01-06 Chris Wiebe
...
added parser timeout to TypeParser
* browser/org/eclipse/cdt/internal/core/browser/cache/TypeParser.java
2005-01-06 21:07:12 +00:00
John Camelon
d019346a04
Fixed 81887 [Parser2] if () {...} else if () ... else {...} parsed incorrectly
...
Started DOMScannerTests.
2005-01-06 20:52:07 +00:00
John Camelon
35a922fdfd
Add in common IASTProblemHolder interface.
2005-01-06 15:44:56 +00:00
John Camelon
4b39617534
Removing IProblem references from DOM Parser/Scanner
2005-01-05 20:23:09 +00:00
John Camelon
d91724f835
IASTProblems are now attached to the AST rather than reported.
2005-01-05 16:43:46 +00:00
John Camelon
334abb5ab0
Continuation of IProblem/Backtrack migration for Parser2.
2005-01-04 18:51:08 +00:00
John Camelon
416db61299
Start of IProblem/Backtrack migration for Parser2.
2005-01-04 14:52:22 +00:00
Andrew Niefer
b8955a476e
more CompleteParser2Tests
...
- member visibilty
- destructors
2004-12-24 00:13:43 +00:00
Alain Magloire
2588a0df58
2004-12-22 Alain Magloire
...
On going work to clean cdt.ui from misc. warnings
and removing the deprecated interfaces in Eclipse-3.1
2004-12-23 20:10:31 +00:00
Doug Schaefer
0583121e43
Updated the version numbers to 3.0.0.
2004-12-22 19:49:22 +00:00
John Camelon
38f71e03c8
LocationMap meet IProblem.
2004-12-22 19:28:40 +00:00
Andrew Niefer
65428b9be0
more CompleteParser2Tests and
...
- constructors
- visiting array declarators
2004-12-22 19:10:20 +00:00
John Camelon
f1c7d7672e
Further DOMScanner updates.
2004-12-22 17:10:23 +00:00
John Camelon
861c8d0a15
Removed warnings.
2004-12-22 16:07:59 +00:00
Andrew Niefer
fcc304bee1
expand some of the CompleteParser2Tests
...
- enumerator getType()
- class decls with qualified names
2004-12-22 00:00:43 +00:00
Alain Magloire
e789bb0fd3
2004-12-21 Alain Magloire
...
purpose: using charset from 'file' to encode in-memory String object into bytes
modifer: Wu Zhi Qiang
action: first get the charset from 'file', then use it
to encode the 'buffer.toString()' into bytes
* src/org/eclipse/cdt/internal/core/model/Util.java
2004-12-21 21:35:45 +00:00
John Camelon
2c4cc97119
Fixed Bug 80978 - [Parser2] C Parser doesnt handle variable length arrays
2004-12-21 20:45:57 +00:00
John Camelon
02b95b6d5c
Fixed Bug 80992 - [Parser2] C Parser only handles 1 type-qualifier in array modifier
2004-12-21 19:53:15 +00:00
John Camelon
b69b32768f
Removed warning (Andrew)
2004-12-21 18:17:30 +00:00