handle clang type 'x < y::z >' better
This commit is contained in:
parent
39fec386a1
commit
dc0b68d505
|
@ -5645,7 +5645,7 @@ static const Token * parsedecl(const Token *type, ValueType * const valuetype, V
|
|||
parsedecl(type->type()->typeStart, valuetype, defaultSignedness, settings);
|
||||
else if (type->str() == "const")
|
||||
valuetype->constness |= (1 << (valuetype->pointer - pointer0));
|
||||
else if (settings->clang && type->str().find("::") != std::string::npos && type->str().size() > 2) {
|
||||
else if (settings->clang && type->str().size() > 2 && type->str().find("::") < type->str().find("<")) {
|
||||
TokenList typeTokens(settings);
|
||||
std::string::size_type pos1 = 0;
|
||||
do {
|
||||
|
|
Loading…
Reference in New Issue