Roberto Raggi
98a62c19fe
Push the function scope as soon as we're done processing the core-declarator.
2010-08-10 15:54:31 +02:00
Roberto Raggi
0f301f8679
New implementation of CPlusPlus::FindUsages
2010-08-10 15:19:32 +02:00
Roberto Raggi
463f83630f
Speed up the comutation of the local members.
2010-08-06 11:35:00 +02:00
Roberto Raggi
4ff3ee2ff0
Use Prototype instead of Function.
2010-08-05 17:53:14 +02:00
Roberto Raggi
9aa991d636
Refactored CPlusPlus::Function.
2010-08-05 17:53:14 +02:00
Roberto Raggi
5cdbf62d60
Simplified the lookup.
2010-08-05 15:02:59 +02:00
Roberto Raggi
ccf3244932
Check only NameId and TemplateNameId
2010-08-05 13:38:27 +02:00
Roberto Raggi
12ecb527ac
Simplified FindUsages.
2010-08-05 12:49:29 +02:00
Roberto Raggi
6905b6a5af
Get rid of the member ClassOrNamespace::_instantiations.
2010-08-04 13:07:59 +02:00
Roberto Raggi
6324bf4460
Introduced IdExpressionAST.
2010-08-02 12:52:12 +02:00
Lasse Holmstedt
912487d3eb
Insertion point fix for Declaration from Definition quickfix
...
Reviewed-by: Erik Verbruggen
2010-07-30 17:45:28 +02:00
Roberto Raggi
7794289424
Get rid of Oveview::prettyTypeWithName() and LookupContext::minimalName()
2010-07-29 15:17:24 +02:00
Erik Verbruggen
6bbc732a29
Sprinkled a bit of doxymentation over various classes.
2010-07-28 17:34:00 +02:00
Erik Verbruggen
a8179152c9
Added tests for the InsertionPointLocator and fixed bugs.
2010-07-28 12:10:11 +02:00
Erik Verbruggen
aec36eec7c
Use the new InsertionPointLocator for declarations.
...
Still need to change it to use RefactoringChanges, and to do better definition
generation.
2010-07-28 12:10:11 +02:00
Erik Verbruggen
3bc473c0c2
Temporary fix to get at least some name back.
2010-07-27 15:58:27 +02:00
Erik Verbruggen
b2659950e2
Added the InsertionPointLocator.
...
For answers to questions about where to insert a snippet/chunk of C++ code. Ok,
currently it will only find the One And Only place to insert method
declarations in classes, and it will need some tuning.
2010-07-27 15:32:40 +02:00
Bill King
0bec2a438f
Fixes testcase compilation
2010-07-23 14:16:10 +10:00
Roberto Raggi
50875ff0da
Fixed LookupContext::fullyQualifiedName()
...
Now the method can be used to get the fully qualified name of
destructors, operator-ids and conversion-function-ids.
2010-07-21 12:50:24 +02:00
Roberto Raggi
b94821b6a9
Get rid of the deprecated method Overview::setShowFullQualifiedNames().
2010-07-21 12:50:24 +02:00
Erik Verbruggen
5e68a31d0b
Fixed fully-qualified-name for destructors.
2010-07-21 10:40:18 +02:00
Roberto Raggi
f8555f4294
Skip qualified and template name ids.
2010-07-20 15:10:02 +02:00
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
con
5b989680ff
Fixes: Completing switch statements with enums in namespaces or classes.
...
We need to add the fully qualified name to the case statements.
Reviewed-by: Roberto Raggi
2010-07-19 16:46:19 +02:00
Roberto Raggi
c4ede7263d
Get rid of the those ugly warnings.
2010-07-19 15:10:06 +02:00
Erik Verbruggen
867bf3dae8
Fixes for scope range calculation.
2010-07-19 10:42:32 +02:00
Erik Verbruggen
13ff3e2961
Added comment.
2010-07-16 16:04:58 +02:00
Erik Verbruggen
f7a8c5f05d
Fixed lookup to skip over friend declarations.
2010-07-16 16:04:58 +02:00
Denis Mingulov
915ba478d3
CPlusPlus::Icons - modify to support icon's id additionally
...
Merge-request: 2167
Reviewed-by: Kai Koehne <kai.koehne@nokia.com >
2010-07-16 11:24:02 +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
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
con
795ae72e0f
Quick fix for completing cases in enum based switch statements.
...
Reviewed-by: Roberto Raggi
2010-07-09 10:33:00 +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
Roberto Raggi
9d63e4a699
Try to resolve the type in the scope of the declaration.
2010-07-09 10:11:30 +02:00
Erik Verbruggen
9c321dc7c8
More completion fixes.
2010-07-06 13:11:27 +02:00
Erik Verbruggen
69a74abf26
Fixed completion for doxygen comments.
2010-07-06 10:57:56 +02:00
Erik Verbruggen
45e12ccb42
Fixed scope calculation in code completion.
2010-07-06 09:19:20 +02:00
Bill King
c9710052bb
Fix autotests so that they're compiling again.
2010-07-06 14:37:45 +10:00
Roberto Raggi
84ebb1048d
Moved CheckUndefinedSymbols to the cpptools plug-in.
2010-07-05 17:35:54 +02:00
Roberto Raggi
a1d3c63874
Fixed possible crash when computing the AST path.
2010-07-05 17:09:05 +02:00
Roberto Raggi
76ebb46479
Fixed: "Follow symbol" on constructor or destructor always jumps to class definition
...
Task-number: QTCREATORBUG-1776
2010-07-05 13:38:53 +02:00
Christian Kamm
837e7b5abd
C++: Remember joined state in SimpleLexer.
...
Done-with: Erik Verbruggen
2010-07-02 15:47:00 +02:00
Erik Verbruggen
8e4fb678fd
Removing SimpleToken
2010-07-02 11:18:51 +02:00
Erik Verbruggen
e3e8b1a5c0
Removed the TokenCache.
2010-07-02 11:18:51 +02:00
Roberto Raggi
0f2a24641b
Get rid of NumericLiteral::isChar/isWideChar().
2010-07-01 15:27:36 +02:00