Commit Graph

97 Commits

Author SHA1 Message Date
Bill King
3593fe08ae tests: add licence headers 2011-02-18 14:48:16 +01:00
Bill King
853b16ccee Tests: cleanup output so that it appears inline with associated test. 2011-02-17 16:08:42 +01:00
Erik Verbruggen
7334ed9ec4 C++: fixed translatable quick-fix strings. 2010-10-08 13:15:21 +02:00
Erik Verbruggen
192ca70649 C++ Parser: fix infinite loop when recovering from incorrect @selector expression. 2010-10-08 13:15:21 +02:00
Erik Verbruggen
3edb0a8480 C++: Added unittest for 5a1924f1a0. 2010-09-16 11:31:07 +02:00
Bill King
1f0b600b82 Autotests: More cleanup of tests, and initial marking of components belonged to. 2010-09-02 15:32:04 +10:00
Roberto Raggi
688d382ad9 Some cleanup in the C++ AST. 2010-08-26 16:07:14 +02:00
Roberto Raggi
2ebaf3fe5b Get rid of the #warning directives. 2010-08-11 15:48:40 +02:00
Roberto Raggi
6324bf4460 Introduced IdExpressionAST. 2010-08-02 12:52:12 +02:00
Erik Verbruggen
112b713343 Fixed test after changing the AST representation of the postfix expression. 2010-06-25 13:20:24 +02:00
Erik Verbruggen
e609e9a701 Simplified ObjC selectors in the AST. 2010-02-23 17:43:52 +01:00
Erik Verbruggen
a0071f1ce9 Revert "Added Objective-C @try block parsing."
This reverts commit f4163b8ba0.
2010-02-15 12:24:31 +01:00
Erik Verbruggen
f4163b8ba0 Added Objective-C @try block parsing. 2010-02-15 09:27:01 +01:00
Erik Verbruggen
21488e8898 Added semantic checks for Q_ENUMS. 2010-02-07 10:49:03 +01:00
Erik Verbruggen
a3d0406d31 Fixed throw expression parsing. 2010-02-02 15:39:42 +01:00
Erik Verbruggen
c33b55537d Extended operator precedence parsing.
It now includes comma expressions, conditionals and assignment
expressions.
2010-02-02 12:34:57 +01:00
Erik Verbruggen
0cf0becb2e Added AST building for __attribute__ constructs. 2010-02-02 12:03:37 +01:00
Erik Verbruggen
3dd011fcb6 Changed binary expression parsing to use precedence parsing. 2010-01-28 15:22:50 +01:00
Roberto Raggi
75a7abb8c5 Compile. 2009-12-02 12:45:28 +01:00
Erik Verbruggen
72d4493fc2 Added scope calculation for Objective-C classes. 2009-11-11 09:21:06 +01:00
Roberto Raggi
0ae2d96a9b Fixed the AST field names. 2009-11-10 16:47:16 +01:00
Roberto Raggi
e5eb88a31f Ported the accept methods. 2009-11-10 16:20:13 +01:00
Roberto Raggi
cdb1443219 Cleanup specifiers. 2009-11-10 16:20:13 +01:00
Roberto Raggi
4fc2ccf0c5 Cleanup ptr operators. 2009-11-10 16:20:13 +01:00
Roberto Raggi
24b6c858eb Cleanup postfix declarators. 2009-11-10 16:20:12 +01:00
Roberto Raggi
a7219736b6 Cleanup Postfix operators. 2009-11-10 16:20:12 +01:00
Roberto Raggi
1dbdbbefe7 Cleanup base base specifiers. 2009-11-10 16:20:11 +01:00
Roberto Raggi
77e7899e7c Removed StatementListAST
Done with Erik Verbruggen
2009-11-10 16:20:09 +01:00
Roberto Raggi
36a0ea2bcb Removed DeclarationListAST node.
Done with Erik Verbruggen
2009-11-10 16:20:09 +01:00
Roberto Raggi
1dd6c64246 More tests for template-ids. 2009-10-20 15:29:58 +02:00
Roberto Raggi
3ec7f9d389 Added tests for the new regressions in the C++ parser. 2009-10-20 11:27:40 +02:00
Roberto Raggi
13675cf6ed Cleanup the C++ front-end.
Removed CPLUSPLUS_BEGIN/END_NAMESPACE & co and made it possible to compile the parser with CPLUSPLUS_WITHOUT_QT.
2009-10-20 11:21:25 +02:00
Roberto Raggi
fe2c9cc16d Improved parsing of ambiguous statements.
Done with Erik Verbruggen
2009-10-19 17:48:57 +02:00
Erik Verbruggen
077c19a661 Fix for invalid parsing of "(a)[b]", including test cases. 2009-10-19 14:50:20 +02:00
Roberto Raggi
20545fd4b1 Fixed more template-id vs expressions ambiguites. 2009-06-19 12:39:32 +02:00
Roberto Raggi
b4a27f6995 Added test tst_AST::condition_1() 2009-06-19 11:23:30 +02:00
Roberto Raggi
e6d0f2ca0c Fixed the auto tests. 2009-06-19 11:19:56 +02:00
Roberto Raggi
2d80acbe76 Improved the implementation of new-expressions. 2009-02-10 14:44:03 +01:00
Roberto Raggi
653b81427c Accept gcc attributes in cv-qualifiers. 2009-01-14 15:16:33 +01:00
Roberto Raggi
8078053c99 Improved ObjC++ support. 2009-01-12 14:56:00 +01:00
Roberto Raggi
dffea478dc Test simple names and template ids. 2008-12-15 13:37:10 +01:00
Roberto Raggi
7f83755fb5 Test the `for' statement. 2008-12-15 13:29:59 +01:00
Roberto Raggi
b043d1d0d3 More testing. 2008-12-15 13:08:21 +01:00
Roberto Raggi
f5976d2b24 Testing `while' statement. 2008-12-15 13:05:02 +01:00
Roberto Raggi
893dd21ae3 Testing C++ initializer of function declarations. 2008-12-15 12:50:54 +01:00
Roberto Raggi
da6eb84456 Fixes: Parsing of simple id expressions (e.g. a;).
AutoTest: included
2008-12-15 12:25:32 +01:00
Roberto Raggi
fc28553573 Initial work on a test suite for our C++ engine. 2008-12-15 11:35:38 +01:00