Przemyslaw Gorszkowski
ffba28d26a
C++: Fix code compl. for instantiation of template specialization
...
It works for full specialization. Instantiate of the partial
specialization has to be implemented(finding appropriate partial
specialization-on going)
Added unit test.
Change-Id: I8ef5ea963e7c665e0d67d390b3a833486773dab0
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com >
2013-01-30 18:49:25 +01:00
Eike Ziller
0a1bdf4257
Merge remote-tracking branch 'origin/2.6'
...
Conflicts:
share/share.qbs
tests/auto/icheckbuild/icheckbuild.pro
Change-Id: I13bc737c981aaeb615ab1a3571cc8a18f60a7cd6
2012-10-25 10:45:58 +02:00
Nikolai Kosjar
6481deb8c8
C++: Fix crashes in tests with Qt5.
...
tst_Semantic and tst_CodeFormatter crash with QTEST_APPLESS_MAIN since
they need to access some font settings via QTextDocument /
Q*Application. Use QTEST_MAIN instead.
Change-Id: Id85228acb6006cfaee41c634c6a32b6c23a70105
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com >
2012-10-23 14:07:35 +02:00
Nikolai Kosjar
5d730be06e
C++: Compile fixes in tests and tools.
...
After some refactorings not all usages, especially in tests and tools,
were adapted.
Change-Id: I7ed24bb1c8e55e55ed74eda3a8fd7610e725f4cb
Reviewed-by: hjk <qthjk@ovi.com >
2012-10-23 12:26:47 +02:00
hjk
386ca7c8dd
Adjust license headers
...
Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2012-10-05 17:12:56 +02:00
hjk
6a7cf405bd
rename QtDebug to QDebug
...
More uniform.
Change-Id: I1c6057981f4c2b3170a4e69f0674fe4caf1143a2
Reviewed-by: Robert Loehning <robert.loehning@nokia.com >
2012-08-06 14:55:08 +02:00
Eike Ziller
e0e8cf3ada
Contact -> qt-project.org
...
Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com >
2012-07-19 13:23:21 +02:00
Erik Verbruggen
19f1f6ca79
Added test for lambda function definitions.
...
Change-Id: I2233aa98a07e9c23463d4bec0b09dcccb89deb58
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com >
2012-03-20 14:28:51 +01:00
hjk
2931a499e6
Long live the king!
...
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2
Reviewed-by: Daniel Teske <daniel.teske@nokia.com >
2012-01-26 19:55:36 +01:00
hjk
31600758de
all: s/info@qt.nokia.com/qt-info@nokia.com/
...
Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-11-03 10:33:19 +01:00
hjk
a322bd606f
Replace qt-info@nokia.com with info@qt.nokia.com
...
Change-Id: I61e7cf189a1c4ea04e2a88a80a4f15e43cd3c018
Reviewed-on: http://codereview.qt.nokia.com/1187
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-07-06 11:14:01 +02:00
hjk
8397663964
Update license.
2011-04-13 11:49:28 +02:00
Bill King
3593fe08ae
tests: add licence headers
2011-02-18 14:48:16 +01:00
Bill King
800e962c33
tests: Add a failing test to make sure diagnostic reporting is working.
2011-02-17 17:00:09 +01:00
Bill King
748ea3edb1
Tests: Fix a crash bug.
2011-02-17 16:08:43 +01:00
Bill King
524a9ac4a8
tests: more test project cleanup
2010-10-21 14:49:58 +10:00
Bill King
54c8a2e5b5
Tests: Get autotests compiling again.
2010-10-20 14:16:04 +10:00
Roberto Raggi
c12866a467
Merge CPlusPlus::NameId and CPlusPlus::Identifier.
2010-09-02 12:51:01 +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
05f2fd6669
Renamed Symbol::scope() to Symbol::enclosingScope().
2010-08-26 16:16:22 +02:00
Roberto Raggi
d21de8c621
Fixed the objc auto tests
2010-08-13 16:55:43 +02:00
Roberto Raggi
ae5db839e1
Compile
2010-08-13 16:55:43 +02:00
Roberto Raggi
13ebe7e46c
Compile.
2010-08-11 16:06:40 +02:00
Roberto Raggi
2ebaf3fe5b
Get rid of the #warning directives.
2010-08-11 15:48:40 +02:00
Bill King
f823c4810e
Add "make check" support to testcase makefiles.
2010-07-13 11:59:37 +10:00
Erik Verbruggen
7986c44dbf
Fixed testcases after changing QualifiedNameId.
2010-07-12 16:19:14 +02:00
Erik Verbruggen
be58171542
Fixed auto tests.
2010-07-07 17:20:06 +02:00
Erik Verbruggen
e7088e9c42
Fixed autotests.
2010-06-23 12:45:22 +02:00
Roberto Raggi
3b113a2d74
Deprecate the old template instantiation.
2010-05-20 15:22:09 +02:00
Roberto Raggi
41882862a2
Compile.
2010-05-18 10:33:35 +02:00
Erik Verbruggen
e609e9a701
Simplified ObjC selectors in the AST.
2010-02-23 17:43:52 +01:00
Erik Verbruggen
6162279630
Added test for selector names.
2010-02-11 10:02:01 +01:00
Erik Verbruggen
21488e8898
Added semantic checks for Q_ENUMS.
2010-02-07 10:49:03 +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
36a0ea2bcb
Removed DeclarationListAST node.
...
Done with Erik Verbruggen
2009-11-10 16:20:09 +01:00
Roberto Raggi
82ecb2c7b3
Initial work on the `new' GenTemplateInstance.
2009-10-26 17:59:54 +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
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
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
e6d0f2ca0c
Fixed the auto tests.
2009-06-19 11:19:56 +02: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