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

799 commits

Author SHA1 Message Date
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
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
cf54709a6b Changed default array sizes. 2004-11-26 18:42:35 +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
a149a4fbe0 Fixed NPE in parsing the Trilogy for C++ w/the new parser due to a malformed array subscript postfix expression. 2004-11-25 03:27:00 +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
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
922006b670 Added ICPPASTTryBlockStatement and implementation. 2004-11-24 04:51:04 +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