Commit Graph

44 Commits

Author SHA1 Message Date
Oswald Buddenhagen
a6ca348636 remove trailing whitespace
doing it in 1.3 as well to avoid possible later conflicts
2010-01-29 21:33:57 +01:00
Roberto Raggi
4bbb9219e9 Fixed completion when a typedef symbol is used as class name
For example std::string, which is a typedef of std::basic_string.

Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2009-12-08 11:09:11 +01:00
Roberto Raggi
8d89646011 Don't run the typechecker on the actual arguments.
At least for now we ignore the types of the actual arguments
2009-10-28 14:55:02 +01:00
Roberto Raggi
345909a55a Fixed: Completion doesn't work for typedefs
Task-number: QTCREATORBUG-170
2009-10-28 12:26:08 +01:00
Roberto Raggi
213316f2a7 Handle ambiguous function declarations vs c++-like initialized declarations. 2009-10-27 16:13:27 +01:00
Roberto Raggi
82ecb2c7b3 Initial work on the `new' GenTemplateInstance. 2009-10-26 17:59:54 +01:00
Roberto Raggi
fb8d699aac Introduced CPlusPlus::GenTemplateInstance. 2009-10-26 12:41:33 +01:00
Roberto Raggi
4fb4705791 Resolve the conditional and new-expressions 2009-10-23 14:53:44 +02:00
Roberto Raggi
4007963a0e The base result needs to be an instance and not a class declaration. 2009-10-16 12:46:26 +02:00
Roberto Raggi
8b514657cc Added support to complete function-call operators. 2009-10-16 12:23:16 +02:00
Roberto Raggi
30f355dac3 Removed resolveArrowOperator and resolveArrayOperator. 2009-10-16 12:23:16 +02:00
Roberto Raggi
ef605df95b Renamed Instantiation. 2009-10-16 12:23:16 +02:00
Roberto Raggi
bb7e17ed8c Removed unused code. 2009-10-16 12:23:16 +02:00
Roberto Raggi
8dc369bc2d Simplified member completion.
Share code with ResolveExpression.
2009-10-16 11:08:34 +02:00
Roberto Raggi
1f1c899cc0 Improved template instantiation. 2009-10-05 11:39:55 +02:00
Roberto Raggi
bb263645b2 Improved the resolving of member expressions. 2009-09-30 11:54:47 +02:00
Roberto Raggi
1622c86289 Removed references and wantReferences from ResolveExpression. 2009-09-23 16:52:41 +02:00
Roberto Raggi
8848be4caa Find references 2009-09-23 16:52:41 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
Roberto Raggi
def098bcbd Return the right type for the literal. 2009-07-10 17:08:15 +02:00
Roberto Raggi
85c501c976 Fixed possible crash when completing function-like arguments. 2009-07-09 16:20:20 +02:00
Roberto Raggi
873838fe3a Simplified TypeOf/ResolveExpression. 2009-06-17 11:19:43 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Roberto Raggi
225c784af4 Improved the member lookup of typedef symbols. 2009-06-10 14:45:27 +02:00
Roberto Raggi
10a2274bd4 Removed obsolete code. 2009-05-27 16:32:32 +02:00
Roberto Raggi
754b1c0f0f Set the cv-qualifiers when instantiating template functions. 2009-05-19 13:35:18 +02:00
Roberto Raggi
743e00f1ab Improved name substitution. 2009-05-19 13:24:58 +02:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
Roberto Raggi
d01795d933 Reimplemented Type::as*Type() using virtual methods. 2009-02-09 17:49:12 +01:00
Daniel Molkentin
59affcfffc Bump year in licence header. 2009-01-13 19:22:14 +01:00
Roberto Raggi
6966d91c7a ResolveType for compound literals. 2009-01-13 16:04:34 +01:00
Roberto Raggi
f0ac751f4a Completion for typedef of pointer to struct. 2008-12-31 10:57:27 +01:00
Roberto Raggi
c7b023c0e1 Renamed SymbolsForDotAccess to ResolveClass. 2008-12-30 12:03:49 +01:00
Roberto Raggi
7c3d1a0158 Improved typedef support. 2008-12-30 11:54:42 +01:00
Roberto Raggi
f02549dafe Save/restore the black list so we can re-use instances of SymbolsForDotAccess. 2008-12-29 12:26:02 +01:00
Roberto Raggi
a985b59d40 Initial support for typedefs. 2008-12-29 11:53:40 +01:00
hjk
da3cb14483 chancge Nokia GPL exception version from 1.2 to 1.3 2008-12-16 17:20:00 +01:00
Roberto Raggi
fdfae53abb Don't use QTC_ASSERT in the C++ front-end library. The engine does not
recover from invalid asserts, so it will crash anyway, but not in
a controlled environment.
2008-12-10 15:44:26 +01:00
hjk
4a552ead9f use QTC_ASSERT instead of Q_ASSERT 2008-12-09 15:25:01 +01:00
Roberto Raggi
5489c83d71 Visit the left child not of a binary expression. 2008-12-04 15:54:12 +01:00
hjk
ab83dcd87c off-by-one in headers 2008-12-02 14:20:25 +01:00
hjk
8a43d9b9f3 end-of-line whitespace correction of the new headers 2008-12-02 14:17:16 +01:00
hjk
f61e8672db more cosmetic changes 2008-12-02 14:09:21 +01:00
con
05c35356ab Initial import 2008-12-02 12:01:29 +01:00