Commit Graph

58 Commits

Author SHA1 Message Date
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
Roberto Raggi
9d52a72534 Made it possible to compile libCPlusPlus without `gui'. 2009-02-10 10:48:19 +01:00
Roberto Raggi
d5c9141c50 Compile. 2009-02-09 17:56:17 +01:00
Roberto Raggi
ea981d5025 More annotations. 2009-02-09 12:19:17 +01:00
Roberto Raggi
34efcf3194 More testing. 2009-02-09 11:56:21 +01:00
Roberto Raggi
6672f89ff5 Annotate the ClassSpecifierAST node with the class symbol. 2009-02-09 11:35:57 +01:00
con
1dcabe5a3a Merge branch '1.0.0'
Conflicts:
	tests/auto/cplusplus/shared/shared.pri
	tests/auto/cplusplus/shared/shared.pro
2009-02-09 10:54:36 +01:00
Roberto Raggi
1f9bcd86e0 Added a simple auto test for the name lookup. 2009-02-09 10:21:29 +01:00
Roberto Raggi
8321683694 Fixes: Compile with msvc 2009-02-05 14:39:53 +01:00
hjk
bf7dae57de Fixes: remove use of qttest_p4.prf
Details:  makes it compile now with Qt snapshots
2009-02-05 12:35:37 +01:00
Roberto Raggi
d21a4f8406 Fixes: Compile. 2009-02-05 10:34:43 +01:00
hjk
7c1ebd6dc9 Fixes: compile fix for cplusplus autotests 2009-02-05 10:22:51 +01:00
hjk
89c7c606ad Fixes: compile fix for cplusplus auto test 2009-02-05 09:50:47 +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
c7ac64e7de Test typedefs and pointers to anonymous structs. 2008-12-31 10:47:02 +01:00
Roberto Raggi
702e078ace oops! update errorCount after the semantic pass. 2008-12-30 11:16:45 +01:00
Roberto Raggi
98cc3ec6c9 More testing of typedefs. 2008-12-29 09:44:49 +01:00
Roberto Raggi
ccd05bd87e Added a simple test for anonymous structs and typedefs. 2008-12-29 09:40:30 +01:00
Roberto Raggi
c9a5a2a26b Added a simple DiagnosticClient to count the number of errors. 2008-12-29 09:35:50 +01:00
Roberto Raggi
5a966f8dae Test class specifiers with qualified names. 2008-12-29 09:10:38 +01:00
Roberto Raggi
d8336257cb Check the argument's type in tst_Semantic::function_declaration_2. 2008-12-22 10:59:22 +01:00
Roberto Raggi
3050034c2b Compile the semantic test suite. 2008-12-22 10:56:47 +01:00
Roberto Raggi
50e4203b52 More testing 2008-12-22 10:56:29 +01:00
Roberto Raggi
864f07d438 Initial work on the test suite for the C++ front-end semantic pass. 2008-12-22 10:46:15 +01:00