1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 08:46:02 +02:00
Commit graph

747 commits

Author SHA1 Message Date
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
Andrew Niefer
bd3686071d 76696 - [Parser] Problem in if condition causes problems in else 2004-10-20 20:37:09 +00:00
Andrew Niefer
96930791c6 don't expand function-like macros is they aren't followed by a ( 2004-10-20 18:30:11 +00:00
John Camelon
f479e84d8f Patch for Devin Steffler.
Fixed 39688 [Scanner] Macros with variable number of arguments are not supported (C99) (GCC)
- added support for C99 syntax for macros with variable arguments i.e. "..."
- added support for GCC syntax for macros with variable arguments i.e. "args..."
- added test cases for the above
2004-10-20 17:59:54 +00:00
Andrew Niefer
a22cca2f6b 39677, 74190 - fix problem with statements in expressions 2004-10-20 16:51:54 +00:00
John Camelon
07a8507a81 Partial fix for 76480 - [Content assist] shouldn't work on scope operator in C code 2004-10-20 15:08:44 +00:00
John Camelon
2f84ab8078 Updated visibility of particular parser components. 2004-10-20 15:01:41 +00:00
Andrew Niefer
121fe1e577 fix problem reporting from the ExpressionEvaluator 2004-10-18 21:11:57 +00:00
John Camelon
19ffaa04f2 Patch for Devin Steffler
Fixed 75532 [Scanner] Wrong compare if the two declarations are in other number system.
- Octal support has been added along side Hex support in ExpressionEvaluator.java.
- SourceIndexerRequestor.java now handles IProblem.SCANNER_RELATED IProblems
- IProblems can now be thrown easily from ExpressionEvaluator.java
- IProblems are reported for malformed Decimal/Hex/Octal numbers as well as the existing EvalExceptions that occur in ExpressionEvaluator.java
- tests were added to check Octal support and that the IProblems are raised properly within ExpressionEvaluator.java
2004-10-13 20:03:32 +00:00
John Camelon
69c2f46f4b Fixed 39701 [Parser] Extended syntax for template instantiation is not supported (GCC, C++) 2004-10-13 14:13:27 +00:00
Vladimir Hirsl
f1617823d5 Fix for PR 69604 [Templates] Instantiating template with deferred template instance. 2004-10-12 05:50:18 +00:00