Remove trailing whitespace in type instantiation

This commit is contained in:
Jonathan Müller 2017-09-30 11:36:45 +02:00
commit a2472cd075

View file

@ -438,6 +438,8 @@ namespace
if (spelling.empty() || spelling.back() != '>')
return nullptr;
spelling.pop_back();
while (!spelling.empty() && spelling.back() == ' ')
spelling.pop_back();
builder.add_unexposed_arguments(ptr);
return builder.finish();