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
Roberto Raggi
adfdb51660
Recursive definition of CPlusPlus::QualifiedNameId.
...
Done-with: Erik Verbruggen
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
5751f4f1c5
Reenabled the old `deprecated' template instantiation.
...
I hate this commit, but unfortunately, I don't have time right now
to finish the new template instantion algorithm so I have to
enable the old way of doing instantiations.
2010-07-09 10:17:28 +02:00
Christian Kamm
e1a0f5abef
C++: Make 'follow symbol' work with forward declared classes.
...
If it encounters a forward declaration, it tries to find the class
declaration globally now.
Task-number: QTCREATORBUG-20
2010-06-16 15:37:39 +02:00
Roberto Raggi
cceaffca5b
Keep the Control around for as long needed.
2010-06-04 17:58:29 +02:00
Roberto Raggi
ed501b9bc3
Look at the injected class name.
2010-06-01 14:00:02 +02:00
Roberto Raggi
0dfe7b9b95
Fixed unqualified name lookup.
2010-06-01 12:22:07 +02:00
Roberto Raggi
ecb951cab0
Compile.
2010-05-31 16:01:27 +02:00
Roberto Raggi
cca38a737e
Disable the cacheing of template instantiations.
2010-05-31 12:37:16 +02:00
Roberto Raggi
e343b33342
Check for possible 0x0 accesses.
2010-05-28 11:15:08 +02:00
Roberto Raggi
64e9f652e0
Handle using declarations
2010-05-27 16:33:18 +02:00
Roberto Raggi
d2a62b07f0
Create bindings for anonymous typedefs.
2010-05-26 10:10:23 +02:00
Roberto Raggi
f335855ade
Warn about unexpected using declarations.
2010-05-25 17:15:23 +02:00
Roberto Raggi
405353ab23
Removed the CppBindings.
2010-05-25 17:15:23 +02:00
Roberto Raggi
744d294f3b
Improved lookup of qualified names.
2010-05-25 17:15:21 +02:00
Roberto Raggi
3b113a2d74
Deprecate the old template instantiation.
2010-05-20 15:22:09 +02:00
Erik Verbruggen
8d5dde66c0
Fixed qualified name creation for ObjC classes and protocols.
...
Also fixed the tests for it.
2010-05-20 12:13:44 +02:00
Roberto Raggi
1e1d8e450f
Use the Control created by CPlusPlus::CreateBindings.
2010-05-18 09:24:14 +02:00
Roberto Raggi
5cb42c93ef
Instantiate the template functions.
2010-05-18 09:24:04 +02:00
Roberto Raggi
e2297e4cbd
less verbose.
2010-05-14 15:34:39 +02:00
Roberto Raggi
25b04ff5b4
Flush the current binding before searching for types.
2010-05-14 15:32:40 +02:00
Roberto Raggi
81d7ac2d69
Improved LookupContext::fullyQualifiedName().
2010-05-14 15:10:28 +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
20bfb3313e
Removed deprecated code.
2010-05-14 13:55:24 +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
9381a3e7d8
Look for symbols in the base class implementation.
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
478d3ffdd1
Cleanup.
2010-05-14 13:55:20 +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
ac07b0fcef
Resolve the class-or-namespace specifiers when creating bindings for classes.
2010-05-10 12:37:01 +02:00
Roberto Raggi
139087ee5c
Introduced Symbol::copy(otherSymbol) and removed some deprecated code.
2010-05-10 12:19:47 +02:00
Friedemann Kleint
9a51f684ee
Compile VS
2010-05-10 12:08:39 +02:00
Roberto Raggi
e6b0b56388
Fixed global lookup.
2010-05-10 10:38:49 +02:00
Roberto Raggi
2e9f94c4b9
Removed unused Control.
2010-05-10 10:10:09 +02:00
Roberto Raggi
7526954e9a
Removed debug info.
2010-05-10 09:57:56 +02:00
Roberto Raggi
2e7e4fc92e
Skip friend class declarations.
2010-05-10 09:57:56 +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