Commit Graph

70 Commits

Author SHA1 Message Date
Roberto Raggi
642116e4d2 Oops! removed debug statements. 2010-05-10 10:41:31 +02:00
Roberto Raggi
5daa0e6121 Use the last visible symbol if available. 2010-05-10 10:33:00 +02:00
Roberto Raggi
aab9c52030 More work on template instantiation. 2010-05-10 09:57:56 +02:00
Roberto Raggi
05984e71fc Refactor a bit the lookup, it should simplify template instantiation. 2010-05-10 09:57:55 +02:00
Roberto Raggi
b84db9ba88 Enable lazy lookup. 2010-05-05 16:36:46 +02:00
Roberto Raggi
d9527680a9 Try to use the new LookupContext. 2010-05-05 16:36:46 +02:00
Roberto Raggi
32a84df5c0 Deprecated the current LookupContext. 2010-05-05 16:36:44 +02:00
Roberto Raggi
678f7d3e94 Fixed `look at symbol under cursor' when symbol is a Qt method (e.g. a signal).
Done with: erikv
2010-03-29 15:31:42 +02:00
Roberto Raggi
6f80219d3e Renamed the CompoundExpressionAST::compoundStatement. 2010-03-23 10:25:43 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01: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
6ca5f5f5f8 Added semantic checks for compound expressions. 2010-02-07 10:49:02 +01:00
Erik Verbruggen
fd90c3503d Added AST nodes for compound expressions (a GNU extension). 2010-02-07 10:49:02 +01:00
Oswald Buddenhagen
75b42f18d8 Merge remote branch 'origin/1.3'
Trailing whitespace removal re-applied manually.
2010-01-29 22:50:23 +01:00
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
02c7336795 Expand the template parameters. 2009-12-08 12:38:27 +01:00
Thorbjørn Lindeijer
d20cdc64e3 Merge remote branch 'origin/1.3' 2009-12-08 11:26:05 +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
7c7ce13ac0 Use const names. 2009-12-01 12:46:23 +01:00
Roberto Raggi
fade61a8a9 Use const literals. 2009-12-01 11:46:36 +01:00
Roberto Raggi
ecf40d2426 Get rid off QPair<FullySpecifiedType, Symbol *>. Use LookupItem intead. 2009-11-17 14:24:09 +01:00
Roberto Raggi
5d7def6d2a Refactored the AST visitors.
Now, the ASTVisitor constructor takes a valid reference to a TranslationUnit.
2009-11-17 13:30:39 +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
a7219736b6 Cleanup Postfix operators. 2009-11-10 16:20:12 +01:00
Roberto Raggi
4089c906fa Removed the ExpressionListAST node.
Done with Erik Verbruggen
2009-11-10 16:20:09 +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