Andrew Niefer
b8955a476e
more CompleteParser2Tests
...
- member visibilty
- destructors
2004-12-24 00:13:43 +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
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
John Camelon
ee26471851
Patch for Devin Steffler.
...
Fix for 108 Perrors in Dave's test associated with testTypedefExample4b (changes made to GNUCSourceParser)
Better support for Function Types
2004-12-21 16:27:04 +00:00
Andrew Niefer
1d28de7fde
using declarations
2004-12-20 18:09:05 +00:00
John Camelon
0cb94d4f49
Patch for Devin Steffler.
...
This patch adds the implementation of CFunctionTypes to the new parser. In it I also cleaned up some of the old implementation that I had for other types so that it was easier to implement FunctionTypes.
2004-12-17 20:23:47 +00:00
John Camelon
ec4d154f13
Fixed type-ohs.
2004-12-17 14:29:28 +00:00
John Camelon
1c56aae7c8
Remove warning.
2004-12-16 21:01:17 +00:00
John Camelon
c66fd5bdef
Designated Initializers were not being seen in the physical AST.
2004-12-16 20:56:35 +00:00
Andrew Niefer
73f50ce64b
More Tests for C++ bindings
2004-12-16 00:03:44 +00:00
John Camelon
50f8dcd8aa
Address some performance issues regarding opening inclusions in the resource tree for both the new and old parser framework.
2004-12-15 21:12:51 +00:00
Andrew Niefer
495d10915b
This someone got left out of the last commit
2004-12-15 17:57:28 +00:00
Andrew Niefer
04105fe09e
Array Types patch from Devin Steffler
...
plus small changes to fix broken GCCTests
2004-12-15 17:56:49 +00:00
Andrew Niefer
7c6a5a0094
C++: enumerations, enumerators and pointers to functions
2004-12-15 17:09:04 +00:00
John Camelon
8e1dc14197
Switch DOM tests to use DOMScanner.
...
Updated DOMScanner constructor.
Added __asm__ macro to GNUScannerConfiguration
2004-12-15 15:55:55 +00:00
John Camelon
cac97aa220
asm was not a keyword in C. :-(
2004-12-15 15:30:02 +00:00
John Camelon
b0c3398285
Separate Scanner2 into BaseScanner, Scanner2 & DOMScanner.
2004-12-14 21:17:49 +00:00
Andrew Niefer
b6fa19a6f7
for statements, field references
2004-12-14 20:17:23 +00:00
Andrew Niefer
b0f2b85991
more C Types from Devin Steffler
2004-12-14 20:07:42 +00:00
John Camelon
46150fa029
Goodbye IScannerExtension.
...
Hello IScannerConfiguration.
2004-12-14 16:17:21 +00:00
Andrew Niefer
656d059c25
- IArrayType
...
- function types and parameter bindings
2004-12-14 15:33:13 +00:00
John Camelon
7c23d4f9bb
Refactored Scanner2 to make it subclassable.
...
Started to merge GCCScannerExtension into Scanner2 making it configuration based.
2004-12-13 20:40:02 +00:00
Andrew Niefer
0d99c950b0
fix CQualifierType#getType(), from Devin Steffler
2004-12-13 18:54:02 +00:00
Andrew Niefer
b9d472dbe3
Start of types for C. By Devin Steffler
2004-12-13 18:17:23 +00:00
Andrew Niefer
22964c077e
- initial pass at function resolution for bindings
...
- start of IType implementations for C++
2004-12-11 17:47:31 +00:00
John Camelon
d4bd5b2942
Further IASTNodeLocation & framework updates.
2004-12-10 21:02:55 +00:00
Andrew Niefer
3b8838d4bc
Interfaces for basic types
2004-12-10 17:03:16 +00:00
John Camelon
97c7e2b893
Fixed compile error.
2004-12-10 03:55:37 +00:00
John Camelon
b9bdbe47af
Moved parser2 packages to dom.parser
2004-12-10 03:53:10 +00:00
Andrew Niefer
19621807ba
- IType interfaces and tests outlining how it works
2004-12-09 18:13:39 +00:00
John Camelon
04cef746c8
Further progress into AST as a service.
2004-12-09 03:45:04 +00:00
John Camelon
e5ffb20068
Moved DOM to src/ folder from parser/ folder.
2004-12-09 01:09:08 +00:00
John Camelon
1a2283799d
Added further physical/DOM interfaces.
...
Added the start of the ASTService.
2004-12-08 21:16:54 +00:00
Andrew Niefer
494a85849b
- Add basic ambiguity resolution
...
- start using offsets to aid in traversing different scopes.
- set some offsets on some physical nodes as I notice them
2004-12-08 16:35:10 +00:00
John Camelon
ef16d14160
Remove use of java.util.Lists from Physical tree interfaces.
2004-12-07 19:12:23 +00:00
John Camelon
301e1057eb
Add comments
2004-12-07 18:50:06 +00:00
Andrew Niefer
c50120a815
- visiting the C++ AST
...
- Namespaces and Using directives
2004-12-07 01:02:35 +00:00
Andrew Niefer
bb4f448825
class inheritance
2004-12-02 22:27:57 +00:00
Andrew Niefer
3c6b029ae7
Bindings for members
2004-12-02 19:40:14 +00:00
John Camelon
d89f346613
Further stubbing out of the IASTNodeLocation related interfaces.
2004-12-02 03:35:40 +00:00
John Camelon
5d45047d01
Patch for Devin Steffler
...
Fixed 79921 - [Scanner] problems with ')' inside a string being passed to va_args macro parm
Fixed 79227 - [Scanner][IProblem][Ethereal] "Unbounded string encountered" invalid IProblems with invalid offsets highlighting weird commented code
2004-12-02 03:15:08 +00:00
John Camelon
e5362d1983
Patch for Devin Steffler.
...
Fixed 79810 - 'invalid arithmetic conversion' on line 0
This also clears up the last IProblem related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=75403
2004-12-02 02:58:48 +00:00
Andrew Niefer
b2f25ce249
Resolving method bindings
2004-12-01 20:24:47 +00:00
Andrew Niefer
ec30347dee
Start of CPP bindings
2004-11-30 22:27:30 +00:00