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
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
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
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
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
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
John Camelon
053748815b
Patch for Devin Steffler.
...
Fixed 79787 - [Scanner] #error has extra \r character at the end
Fixed 79490 - [Scanner] char constants not evaluated properly with #if
2004-11-30 18:51:49 +00:00
John Camelon
1e56204749
Patch for Devin Steffler
...
Fixed 79471 - [Parser] Syntax Errors: Problems with handling float value in the preprocessor statements
2004-11-30 18:21:37 +00:00
John Camelon
29a1fcb59c
Patch for Devin Steffler.
...
Fixed 79339 - Selection search fails on SDL/SDL.h
2004-11-29 21:00:32 +00:00
John Camelon
21a1814cc5
Refactored statement() to share more code between C/C++.
...
Added in ambiguity resolution code for expression statements vs. declarations statements.
2004-11-26 16:09:44 +00:00
Andrew Niefer
e22e2cadc1
- change interface gets to return arrays instead of lists
...
- added getScope as needed
- added IASTName.toCharArray()
- modified CVisitor to use scopes to store bindings
these changes reduce binding time for windows.h from minutes to ~1300 ms
2004-11-25 22:07:17 +00:00
John Camelon
5946594715
Patch for Devin Steffler.
...
Fixed 78231 - [Parser] open declaration on elaborated type shouldn't jump to object hiding it
2004-11-24 21:15:16 +00:00
Andrew Niefer
0bf6b02659
test tweaks
2004-11-24 20:27:41 +00:00
Doug Schaefer
dd13cb982b
Added helpers to create the standard projects.
2004-11-24 17:53:57 +00:00
John Camelon
1a5a30c950
Cloned CompleteParseASTTest to CompleteParse2Tests to be used w/the new parser.
...
Added CompleteParser2Tests to ParserTestSuite.
Removed unnecessary helper classes in parser2 package.
2004-11-24 16:36:14 +00:00
John Camelon
2a7c0f097f
Support for pointer to functions/members.
2004-11-24 15:02:21 +00:00
John Camelon
03de1e32fd
Separated C++ and C Physical Implementations to provide Andrew more flexibility.
...
Added ICPPASTTemplateId and implementation.
2004-11-24 04:28:19 +00:00
Andrew Niefer
0b6beedffa
more GCC tests
...
plus enumerations and enumerators
2004-11-23 22:27:21 +00:00
John Camelon
34181fda51
QuickParser2Tests now all pass.
...
Commit it while you can.
2004-11-23 21:46:01 +00:00
John Camelon
0069e2dae3
Only 3 QuickParse2Tests failing.
2004-11-23 20:42:55 +00:00
John Camelon
dbc642b6b4
Add support for long longs.
2004-11-23 19:29:36 +00:00
Andrew Niefer
2399f89255
more GCC based Tests.
...
impl CParameter.getType, check for definitions of variables,
visit parameter declSpecifiers
2004-11-23 17:43:16 +00:00
John Camelon
b36410c4ee
Fixed bug in GNUCSourceParser regarding parsing typedefed anonymous structs as parameters in a function definition.
2004-11-23 15:22:42 +00:00
John Camelon
edd4a3ebf0
Most of C++ Expressions & Declarations.
...
80% of QuickParseTest2 passing.
2004-11-23 02:48:32 +00:00
Andrew Niefer
b260655021
Add GCCTests based on GCC torture test suite
2004-11-22 19:25:26 +00:00
Doug Schaefer
fa0262f964
We now have template projects for all project types: C/C++
...
and Standard/Managed.
2004-11-22 14:59:34 +00:00
John Camelon
80e8ac3fc6
Finished DeclSpecifier for new C++ Parser.
2004-11-22 02:39:23 +00:00
Doug Schaefer
b34fcf2fc9
Some clean up to make the core.tests plugin more 3.0 compliant.
...
Also added in a new ProjectCreator that creates projects from
prebuilt zip files.
2004-11-21 15:53:55 +00:00
Doug Schaefer
753aa6132f
Some clean up to make the core.tests plugin more 3.0 compliant.
...
Also added in a new ProjectCreator that creates projects from
prebuilt zip files.
2004-11-21 15:51:31 +00:00
John Camelon
78555dc686
Patch for Devin Steffler
...
Removes ClassCastException from CompleteParseASTFactory
2004-11-20 17:48:48 +00:00
Andrew Niefer
d72d34cf02
Parser2 : fixed some stuff, added some more stuff
...
(visit initializers, add a kind of tag namespace for resolving structs)
2004-11-19 21:26:33 +00:00
Andrew Niefer
81a02aa350
first test from GCC suite
2004-11-19 18:22:39 +00:00
John Camelon
87785b3e67
Patch for Devin Steffler
...
Fixed 77276 - Preprocessor problem - Multi line #if are not accepted
Fixed 77097 - Preprocessor problem - Multi line #defines are not accepted
2004-11-19 16:05:43 +00:00
John Camelon
eecdc3e370
Fixed failed SelectionRegressionTest
2004-11-19 01:37:58 +00:00
Andrew Niefer
235b6312f0
patch from Devin Steffler : fix for 71317 invalid overload of the name
2004-11-18 21:05:26 +00:00
John Camelon
9293cb16fb
Added AST2Tests to ParserTestSuite.
...
Move IASTNullStatement into the general dom package, it was in the C package incorrectly.
2004-11-18 20:46:23 +00:00
John Camelon
76d22e0f05
Patch for Devin Steffler
...
Fixed 77281 - Unable to parse assignment statements
Fixed 77921 - Syntax Error on initializer with floats
Fixed 76763 - Problem for #error has extra characters
2004-11-18 20:30:27 +00:00
John Camelon
552b75eb26
Patch for Devin Steffler.
...
Fixed 77009 - ASTUtil#getType ignores volatile
2004-11-18 18:38:32 +00:00
John Camelon
74f0cc0f87
Patch for Devin Steffler.
...
[FIXED][75731][Search] open declaration on class incorrectly points to constructor definition
[FIXED][77989][F3] Open declaration fails in "using namespace N"
[FIXED][78435]Open declaration of argument can't find itself
2004-11-18 16:52:07 +00:00
Andrew Niefer
afeb157d1f
Bindings for ILabels, more general visitor, Scope interfaces for C
2004-11-18 16:33:04 +00:00
John Camelon
deabf0e68b
Patch for Devin Steffler.
...
Fixed 77821 - usualArithmeticConversions doesn't handle pointers
2004-11-18 14:34:42 +00:00
John Camelon
6a84887550
Merging AST2 branch into HEAD.
...
Definition of new DOM AST interface.
Construction of new C Parser.
Tests.
2004-11-17 20:52:23 +00:00