Erik Verbruggen
e609e9a701
Simplified ObjC selectors in the AST.
2010-02-23 17:43:52 +01:00
Erik Verbruggen
b2042b79a2
Added unittest for FindUsages in Q_PROPERTY declarations.
2010-02-17 16:01:41 +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
6162279630
Added test for selector names.
2010-02-11 10:02:01 +01:00
Erik Verbruggen
ee16a1e885
Added testcase for find usages of inline method parameters.
2010-02-11 10:02:00 +01:00
Erik Verbruggen
d7994a886f
Added tests for FindUsages in Objective-C code.
2010-02-11 10:02:00 +01:00
Erik Verbruggen
9806b1e165
Fixed pre-precessor bug.
...
When a PP line ended with a \ (join line) and the next line was empty
(ending th joining), the following token would be incorrectly marked as
joined.
Done-with: Roberto Raggi
2010-02-10 11:07:18 +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
3fb1bc46ae
Compile.
2009-12-07 12:00:35 +01:00
Roberto Raggi
75a7abb8c5
Compile.
2009-12-02 12:45:28 +01:00
Roberto Raggi
f2c4d84c6c
Compile
2009-11-17 14:30:01 +01:00
Erik Verbruggen
2d2d0b59c8
Changed ExpressionUnderCursor to handle Objective-C send-message operations.
2009-11-11 09:35:42 +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
8ef85c6489
Removed obsoleted test.
2009-10-27 11:05:35 +01:00
Roberto Raggi
82ecb2c7b3
Initial work on the `new' GenTemplateInstance.
2009-10-26 17:59:54 +01:00
Friedemann Kleint
f13d4a104a
Autotests: Compile on Windows
...
Reviewed-by: Roberto Raggi <qtc-committer@nokia.com >
2009-10-26 17:26:53 +01:00
Roberto Raggi
0ed33aa8a5
Test ExpressionUnderCursor
2009-10-26 15:07:00 +01:00
Roberto Raggi
1f61dbc380
Test GenTemplateInstance.
2009-10-26 15:00:56 +01:00
Roberto Raggi
72da848073
We expect failures in tst_Semantic::pointer_to_function_1
2009-10-26 14:45:58 +01:00
Roberto Raggi
485dec6d2b
Link with cplusplus library.
2009-10-26 14:40:36 +01:00
Roberto Raggi
dc9e019a1d
Test the enclosing scope of pointer-to-function symbols.
2009-10-26 11:24:32 +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
Rohan McGovern
f1f46be2f1
Make tests follow Qt conventions by starting all unit tests with `tst_'.
...
Some scripts make use of this convention to differentiate unit tests
from applications which happen to link to testlib.
Reviewed-by: ossi
2009-09-22 00:36:25 +10: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
55d0e4f860
Improved the way we expand function-like macros when we can't collect all the arguments.
2009-03-03 16:32:08 +01:00
Roberto Raggi
6670cf1fc4
Compile.
2009-03-03 14:54:31 +01:00
Roberto Raggi
f4e875b9bb
Initial testing of the preprocessor.
2009-03-02 11:30:43 +01:00
Roberto Raggi
68e856488b
More testing.
2009-02-12 10:46:26 +01:00
Roberto Raggi
3170057843
Added test case for declarations of "pointer to const T".
2009-02-11 16:21:17 +01:00
Roberto Raggi
2d80acbe76
Improved the implementation of new-expressions.
2009-02-10 14:44:03 +01:00