forked from qt-creator/qt-creator
CppTools: Fix formatting for new-style function declaration
Fixes: QTCREATORBUG-23502 Change-Id: Ie80fe9aa77ffbf0b9ecc531841e78f2bd80de37e Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -1287,6 +1287,7 @@ void tst_CodeFormatter::functionReturnType()
|
||||
<< Line("A::B::foo() {}")
|
||||
<< Line("std::map<int,std::vector<int>> indent() {}")
|
||||
<< Line("std::map<int,std::vector<int> > indent() {}")
|
||||
<< Line("auto indent() -> std::map<int,std::vector<int>>")
|
||||
<< Line("")
|
||||
;
|
||||
checkIndent(data);
|
||||
|
||||
Reference in New Issue
Block a user