Commit Graph

100 Commits

Author SHA1 Message Date
Roberto Raggi
f895cbb472 Sorry this was not supposed to be committed.
Revert "Revert "Try to fix the type rewriter.""

This reverts commit c9bc1e7c64.
2010-07-20 15:10:02 +02:00
Roberto Raggi
c9bc1e7c64 Revert "Try to fix the type rewriter."
This reverts commit 33b19f0210.
2010-07-20 14:23:46 +02:00
Roberto Raggi
33b19f0210 Try to fix the type rewriter. 2010-07-19 20:12:16 +02:00
Roberto Raggi
55936532c2 Disable the copy of SemanticEnvironment. 2010-07-19 19:24:31 +02:00
Roberto Raggi
fff4203a46 Introduced helpers to rewrite types and names.
Done-with: Erik Verbruggen
2010-07-16 11:04:52 +02:00
Roberto Raggi
adfdb51660 Recursive definition of CPlusPlus::QualifiedNameId.
Done-with: Erik Verbruggen
2010-07-12 15:10:00 +02:00
Roberto Raggi
9d63e4a699 Try to resolve the type in the scope of the declaration. 2010-07-09 10:11:30 +02:00
Roberto Raggi
0f2a24641b Get rid of NumericLiteral::isChar/isWideChar(). 2010-07-01 15:27:36 +02:00
Roberto Raggi
da817310c2 Get rid of PostfixExpressionAST and store the base expression together with the PostfixAST nodes. 2010-06-23 14:39:14 +02:00
Erik Verbruggen
2ad794c54f Fixed type resolving for ObjC ptr receiver types in objc_msg_send expressions. 2010-06-18 10:58:35 +02:00
Roberto Raggi
cceaffca5b Keep the Control around for as long needed. 2010-06-04 17:58:29 +02:00
Erik Verbruggen
a56fd7b9f4 Fixed the return type for objc_msg_send expressions. 2010-06-04 15:39:31 +02:00
Erik Verbruggen
eed0241d97 Fixed a couple of null-checks/-returns. 2010-06-04 11:15:38 +02:00
Erik Verbruggen
b9ac631b4a Fixed expression resolving for ObjC message send expressions. 2010-05-20 18:37:12 +02:00
Roberto Raggi
3b113a2d74 Deprecate the old template instantiation. 2010-05-20 15:22:09 +02:00
Roberto Raggi
a600614866 Renamed classOrNamespace() and lookup/findClassOrNamespace(). 2010-05-14 13:55:24 +02:00
Roberto Raggi
9ed1f667a8 Resolve ambiguous C++-like initilized declarations. 2010-05-14 13:55:24 +02:00
Roberto Raggi
517e04ff60 Reenabled the tooltip. 2010-05-14 13:55:23 +02:00
Roberto Raggi
1302de086a Jump at the function's definition. 2010-05-14 13:55:23 +02:00
Roberto Raggi
3c6ad0d845 Instiate overloads of operator->(). 2010-05-14 13:55:22 +02:00
Roberto Raggi
1f3ce81061 Check the member access operator before trying to resolve the base expression. 2010-05-14 13:55:22 +02:00
Roberto Raggi
31b632d6fb Oops! use the right base type when searching for overloads of operator->(). 2010-05-14 13:55:22 +02:00
Roberto Raggi
7edde41d7e Get rid of deprected method ResolveExpression::resolveBaseExpression(). 2010-05-14 13:55:22 +02:00
Roberto Raggi
b66375819d Removed ResolveExpression::resolveMember(). 2010-05-14 13:55:22 +02:00
Roberto Raggi
a3e76dd2cf Get rid off resolveMemberExpression(). 2010-05-14 13:55:22 +02:00
Roberto Raggi
f9a05d9ced Reimplemented resolve base expression. 2010-05-14 13:55:21 +02:00
Roberto Raggi
60f76c96e8 Improved LookupItem and get rid of some deprecated code. 2010-05-14 13:55:21 +02:00
Roberto Raggi
140756eef4 Removed deprecated code. 2010-05-14 13:55:20 +02:00
Roberto Raggi
17fd33bdab Store the declaration (if any) associated with the LookupItem. 2010-05-11 11:27:10 +02:00
Roberto Raggi
37fde0c9d4 Split LookupContext::lookup() in lookup() and find().
lookup() searches for symbols in the given binding and the enclosing scopes,
while find() searches for symbols only in the given binding.
2010-05-11 10:20:51 +02:00
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