CppTools: Fix indent after template params

Add case for ">>" token when in template_param state.

Task-number: QTCREATORBUG-9640
Change-Id: Icc5fc868202d6503d2afd954aa739cd2634cdff1
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
Dave Lewis
2014-03-17 15:54:34 -04:00
committed by Erik Verbruggen
parent 61f18e6fc2
commit 5510ec0552
2 changed files with 3 additions and 0 deletions

View File

@@ -1177,6 +1177,8 @@ void tst_CodeFormatter::templates()
<< Line("~ class F, class D>,")
<< Line("~ typename F>")
<< Line("class Foo { };")
<< Line("template <class A = std::vector<int>>")
<< Line("")
;
checkIndent(data);
}