Erik Verbruggen
ac9fc40645
C++ Editor: check for method existing decl/def when inserting new ones.
2010-10-08 13:15:20 +02:00
Roberto Raggi
189311816c
Resolve local using namespace directives.
...
Reviewed-by: Erik Verbruggen
2010-10-05 14:22:05 +02:00
Erik Verbruggen
3ebc328498
C++: added quickfix to insert a method definition.
...
Reviewed-by: Christian Kamm
2010-09-30 12:19:39 +02:00
Erik Verbruggen
bd435499b6
Fixed compiler warnings.
...
(cherry picked from commit b049937ae013b47e9b86aacd60325dbd382319ed)
2010-09-27 19:07:35 +02:00
Erik Verbruggen
f39494e4c2
C++: make InsertionPointLocator ready for re-use.
...
(cherry picked from commit 519f1d11947ff3109850e559fae868c4a55deb43)
2010-09-27 19:07:15 +02:00
Roberto Raggi
b92004bb1d
Added ResolveExpression::context()
2010-09-22 11:38:04 +02:00
Roberto Raggi
ca306e1e19
Keep the lookup context alive.
2010-09-22 11:34:38 +02:00
Erik Verbruggen
cacb0db0eb
C++: fixed completion in braceless statements following a control statement.
...
- Changed generator to generate:
- Changed AST::lastToken to return 1 if there is none
- Changed Bind.cpp to set the scope of the block following a control
statement to extend upto (and not including) the first token after
the block. So basically, including any whitespace after the control
statement.
Reviewed-by: Roberto Raggi
2010-09-09 15:26:43 +02:00
Erik Verbruggen
deabf47f32
CppTools: Added skipComments flag.
2010-09-09 15:26:43 +02:00
Christian Kamm
7c2d3659e7
C++: Fix an infinite loop in reportResult.
...
Done-with: Roberto Raggi
2010-09-02 15:24:44 +02:00
Roberto Raggi
c12866a467
Merge CPlusPlus::NameId and CPlusPlus::Identifier.
2010-09-02 12:51:01 +02:00
Roberto Raggi
0a3bfc24f8
Improved the expansion of variadic macros.
2010-09-01 17:10:39 +02:00
Tobias Hunger
c060588b15
Add <configuration> to preprocessor
...
* This fixes export macro handling in windows which lead to
Find Usages not working fully for header files on windows
Done-with: Roberto Raggi
2010-08-27 12:10:30 +02:00
Tobias Hunger
715796b48a
Fix krazy issues: Use explicit constructors
...
* Fix all warnings about non-explicit constructors except for those
in 3rdparty code.
2010-08-27 12:10:29 +02:00
Roberto Raggi
05f2fd6669
Renamed Symbol::scope() to Symbol::enclosingScope().
2010-08-26 16:16:22 +02:00
Roberto Raggi
688d382ad9
Some cleanup in the C++ AST.
2010-08-26 16:07:14 +02:00
Roberto Raggi
c5d48034bb
Compare the scope pointers for local scopes.
2010-08-26 13:38:07 +02:00
Roberto Raggi
988cc958ab
Renamed Symbol::identity() to Symbol::unqualifiedName().
2010-08-26 12:23:09 +02:00
Roberto Raggi
644544185f
Restore the old behaviour when switching between function declaration/definition symbols.
...
That is, we don't look at the column position anymore when searching
the function under cursor.
2010-08-17 14:30:11 +02:00
Roberto Raggi
e5ecb6b072
Nicer implementation of Document::lastVisibleSymbolAt().
2010-08-17 13:42:30 +02:00
Roberto Raggi
b3764bedee
Get the icon from the template's declaration.
2010-08-13 18:10:36 +02:00
Roberto Raggi
0540aa362d
Get rid of the old Semantic pass.
2010-08-13 16:55:43 +02:00
Roberto Raggi
6659e3ecba
Use the new binder
2010-08-13 16:55:43 +02:00
Roberto Raggi
da31bce5f8
Use O2 optimization level
2010-08-13 13:35:14 +02:00
Roberto Raggi
9b1a92426e
Compare the instances when searching for the usages of a template parameter.
2010-08-12 12:51:54 +02:00
Roberto Raggi
16b1e8b40d
Renamed Symboo::isScopedSymbol().
2010-08-12 12:35:22 +02:00
Roberto Raggi
b2baaee4b6
Search for symbols in the template prototype.
2010-08-12 12:34:23 +02:00
Roberto Raggi
2ebaf3fe5b
Get rid of the #warning directives.
2010-08-11 15:48:40 +02:00
Roberto Raggi
97d93ed32d
Enabled the template instantiation.
2010-08-11 15:34:28 +02:00
Roberto Raggi
8a32c41f6f
Removed TemplateArgumentList
2010-08-11 15:25:20 +02:00
Roberto Raggi
f3746289b9
Push the template-prototype scope.
2010-08-11 15:25:20 +02:00
Roberto Raggi
be1cde6ed5
Pretty print templates.
2010-08-11 15:25:20 +02:00
Roberto Raggi
a14016bfe6
Process the template symbol.
2010-08-11 15:25:19 +02:00
Roberto Raggi
41b4af0501
Get rid of the prefix findOrInsert for the functions in CPlusPlus::Control.
2010-08-11 15:25:19 +02:00
Roberto Raggi
f74ba9daef
Introduced CPlusPlus::Template and process the template declarations.
2010-08-11 15:25:19 +02:00
Roberto Raggi
6618a3cd67
Removed TemplateParameters.
2010-08-11 15:25:19 +02:00
Roberto Raggi
354b9712e4
Merged ScopedSymbol and Scope.
2010-08-11 15:25:18 +02:00
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