Commit Graph

64 Commits

Author SHA1 Message Date
Roberto Raggi
fff4203a46 Introduced helpers to rewrite types and names.
Done-with: Erik Verbruggen
2010-07-16 11:04:52 +02:00
Roberto Raggi
06c7cb9b88 Disable Create declaration from definition quickfix. 2010-07-12 15:10:00 +02:00
Erik Verbruggen
9135c8ccb1 Quickfix for adding a declaration to a class from a definition. 2010-07-12 09:53:58 +02:00
Roberto Raggi
cceaffca5b Keep the Control around for as long needed. 2010-06-04 17:58:29 +02:00
Roberto Raggi
64e9f652e0 Handle using declarations 2010-05-27 16:33:18 +02:00
Roberto Raggi
1e1d8e450f Use the Control created by CPlusPlus::CreateBindings. 2010-05-18 09:24:14 +02:00
Roberto Raggi
ca1d1259c6 Cleanup. 2010-05-14 14:37:17 +02:00
Roberto Raggi
469b6ef741 Get rid of useless overload of findType(). 2010-05-14 14:18:44 +02:00
Roberto Raggi
31135d5767 More renaming. 2010-05-14 14:00:56 +02:00
Roberto Raggi
13625c2121 Removed ClassOrNamespace::findType_helper() & co. 2010-05-14 13:55:25 +02:00
Roberto Raggi
8eac2fcd21 More renaming. 2010-05-14 13:55:25 +02:00
Roberto Raggi
a600614866 Renamed classOrNamespace() and lookup/findClassOrNamespace(). 2010-05-14 13:55:24 +02:00
Roberto Raggi
fca0d359ba Removed deprecate overload of LookupContext::classOrNamespace(). 2010-05-14 13:55:24 +02:00
Roberto Raggi
3c6ad0d845 Instiate overloads of operator->(). 2010-05-14 13:55:22 +02:00
Roberto Raggi
60f76c96e8 Improved LookupItem and get rid of some deprecated code. 2010-05-14 13:55:21 +02:00
Roberto Raggi
c282da7d1e Introduced Snapshot::findMatchingDefinition(). 2010-05-11 14:15:07 +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
7446f5cae2 Describe the LookupContext API. 2010-05-11 10:12:49 +02:00
Roberto Raggi
6d6e18aa23 Renamed switchCurrentEntity() 2010-05-11 10:03:30 +02:00
Roberto Raggi
9af0e070f4 Renamed lookup_helper(). 2010-05-11 10:01:10 +02:00
Roberto Raggi
139087ee5c Introduced Symbol::copy(otherSymbol) and removed some deprecated code. 2010-05-10 12:19:47 +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
bc6828ff01 Don't use QByteArray in the public API. 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
66a9ef0725 Ported completeScope(), completeNamespace() and completeClass() to use the new LookupContext. 2010-05-05 16:36:45 +02:00
Roberto Raggi
9eea78d7f1 Initial work on the new LookupContext. 2010-05-05 16:36:45 +02:00
Roberto Raggi
32a84df5c0 Deprecated the current LookupContext. 2010-05-05 16:36:44 +02:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Roberto Raggi
a93b625697 Compile with msvc. 2009-12-07 13:00:56 +01:00
Roberto Raggi
60caec48d1 Store the documents in an hash. 2009-12-07 11:12:55 +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
hjk
68160cfa8b compile fix with namespaced Qt 2009-11-20 16:54:09 +01:00
Roberto Raggi
ecf40d2426 Get rid off QPair<FullySpecifiedType, Symbol *>. Use LookupItem intead. 2009-11-17 14:24:09 +01:00
Erik Verbruggen
72d4493fc2 Added scope calculation for Objective-C classes. 2009-11-11 09:21:06 +01:00
Roberto Raggi
82ecb2c7b3 Initial work on the `new' GenTemplateInstance. 2009-10-26 17:59:54 +01:00
Roberto Raggi
7e0e62cb25 Find the canonical virtual method. 2009-10-07 16:12:33 +02:00
Roberto Raggi
b3cf5ae50a Some work on `find references of a symbol'. 2009-09-25 14:20:02 +02:00
Roberto Raggi
20ff553b59 Introduced LookupContext::canonicalSymbol(). 2009-09-25 14:20:02 +02:00
Erik Verbruggen
06fcf59f2e Added method arguments to the lookup context of an ObjC method. 2009-09-25 12:12:00 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +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
f98b937b8c Expand enum and anonymous scoped symbols when resolving qualified name ids.
Reviewed-by: Thorbjørn Lindeijer
2009-06-04 16:17:22 +02:00
Roberto Raggi
2a8b5a2e2b Refactored the lookup of name and template name ids. 2009-05-28 15:24:17 +02:00
Roberto Raggi
6a3382d8de Say hello to LookupContext::resolveNestedNameSpecifier() 2009-05-28 12:39:56 +02:00
Roberto Raggi
faaab90a15 Added LookupContext::resolveOperatorNameId() with the bits needed to resolve operator name ids. 2009-05-28 12:10:45 +02:00
Roberto Raggi
d9a65beacc Moved the lookup of qualified name ids in LookupContext::resolveQualifiedNameId() 2009-05-28 11:59:11 +02:00
Roberto Raggi
a1ec4e2a94 Introduced Name::identifier().
Name::identifier() returns the identifier used to declare the name.
2009-05-28 11:49:59 +02:00
Roberto Raggi
10a2274bd4 Removed obsolete code. 2009-05-27 16:32:32 +02:00