mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-19 14:16:46 -06:00
cpp: typedef issue #914
git-svn-id: svn://ultimatepp.org/upp/trunk@8554 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
f152c521a6
commit
bd654cb71b
1 changed files with 5 additions and 0 deletions
|
|
@ -187,6 +187,11 @@ void AssistEditor::ExpressionType(const String& ttype, const String& usings,
|
|||
String type = ParseTemplatedType(ttype, tparam);
|
||||
int c0 = typeset.GetCount();
|
||||
const Array<CppItem>& n = GetTypeItems(type);
|
||||
for(int i = 0; i < n.GetCount(); i++)
|
||||
if(n[i].kind == TYPEDEF) {
|
||||
ExpressionType(n[i].qtype, usings, xp, ii, typeset, variable, can_shortcut_operator, visited_bases, lvl + 1);
|
||||
return;
|
||||
}
|
||||
String id = xp[ii];
|
||||
int q = id.ReverseFind(':');
|
||||
if(q > 0 && id[q - 1] == ':') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue