1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-24 08:44:01 +02:00
Commit graph

757 commits

Author SHA1 Message Date
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
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
894e597b9e Brutally painful Parser2 fixes. 2004-11-23 14:50:24 +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
John Camelon
cf15755c35 New parser fixes.
Remove NPE in consumeArrayModifiers().
Add stronger typing to bitfield expression in declarator().
2004-11-22 15:10:37 +00:00
John Camelon
3fab76a13d Removed warning. 2004-11-22 02:41:04 +00:00
John Camelon
80e8ac3fc6 Finished DeclSpecifier for new C++ Parser. 2004-11-22 02:39:23 +00:00
John Camelon
ece695b022 Templates, Linkage Specs & the start of DeclSpecifierSeq. 2004-11-21 20:40:43 +00:00
John Camelon
f6aa88405c Adding using declaration/directive support.
Refactored use of ICPPASTQualifiedName.
2004-11-20 19:29:14 +00:00
John Camelon
0ad6f1bcb0 Applied patch for Devin Steffler.
Fixed 78217 - [Parser][IProblems] template operator has invalid IProblem with blank description
	Fixed 79103 - [Parser][IProblems] 3 new lineNumber=-1 found in cpp_headers
2004-11-20 17:56:43 +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
John Camelon
bf7b23eb9e Writable DOM Support for:
C++ Qualified Names.
	ASM Declarations in C++.
	Namespace Definitions & Aliases.
2004-11-19 21:16:52 +00:00
John Camelon
f5891e712a Fixed AST2Test failure. 2004-11-19 18:53:53 +00:00
John Camelon
d533e36b40 Refactoring new parser for C++. 2004-11-19 16:32:22 +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
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
548574d7fd Externalized String 2004-11-18 16:10:21 +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
John Camelon
6c0f439c6c IScannerInfo enhancements.
- Definition of IExtendedScannerInfo
	- Scanner2 implementation for bulk of this
	- added support to core model builder to ignore implicit inclusions/macros
	- JUnit
2004-11-17 19:39:17 +00:00
Andrew Niefer
79dfbf7c90 fix ClassCastException bug 74202 2004-11-16 20:06:20 +00:00
Andrew Niefer
ead89d4bbb patch from Devin Steffler for 77805 2004-11-15 22:17:43 +00:00
Andrew Niefer
50054ebf36 fix bug 74202 2004-11-15 21:09:01 +00:00
Bogdan Gheorghe
44e45fb15f Fix for Bug 78414: IProblem count increased through indexing header files stand-alone 2004-11-12 18:49:29 +00:00
John Camelon
05788b2494 Patch for Devin Steffler.
Fixed 77379[IProblems][line: -1] IProblem with line: -1 in basic_string.tcc (template related?)
Fixed 77382[IProblems][line: -1] 'this->' in basic_string.tcc has invalid IProblem
Fixed 77389[IProblems] no filename associated with IProblem (ambiguity encountered during lookup)
Fixed 77390 [IProblems] no filename associated with IProblem (Invalid arithmetic conversion in file)
Fixed 77391 [IProblems] no filename/message associated with IProblem in list.tcc
2004-11-05 21:39:39 +00:00
Andrew Niefer
28848655d5 Fix recovery after not expanding a function macro 2004-10-27 19:01:46 +00:00
Andrew Niefer
a885c2bd7f 74190 - [Scanner][IProblem] glib.h macro usage error 2004-10-26 21:16:12 +00:00
Andrew Niefer
e58b686575 77010: IASTClassSpecifier#getDeclarations() returns incomplete information 2004-10-26 15:50:51 +00:00
Andrew Niefer
a0bf3dad3b 76947: [Parser] Declaration parsed as Expression 2004-10-25 21:21:57 +00:00
Andrew Niefer
7f18452d63 75956: 16.3.1 don't rescan macro args if used in a ## operator
aka  [Scanner] Inifinite loop parsing system include <ext/rope>
2004-10-22 21:33:24 +00:00
Andrew Niefer
ee74068fe8 fix expansion of macros used as parameters to function-like macros 2004-10-21 21:25:41 +00:00
Andrew Niefer
8e22cf635e fix bug 74069: [Parser][IProblem] if (…) if (…) else if (…) causes unnecessary warning marker 2004-10-21 16:15:45 +00:00