forked from qt-creator/qt-creator
Handle fully qualified types in the root namespace for template typenames.
For example: template <typename ::foo::bar>... Done by: Roberto Raggi Reviewed-by: erikv
This commit is contained in:
@@ -1588,6 +1588,9 @@ bool Parser::lookAtTypeParameter() const
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
} else if (LA(2) == T_COLON_COLON) {
|
||||
// found something like template <typename ::foo::bar>...
|
||||
return false;
|
||||
}
|
||||
|
||||
// recognized an anonymous template type parameter. e.g
|
||||
|
Reference in New Issue
Block a user