зеркало из https://github.com/microsoft/clang-1.git
A better version of r181699: use raw_string_ostream.str() instead of manually calling .flush().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181702 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
967d9e935d
Коммит
2b6acb69f0
|
@ -204,8 +204,7 @@ std::string configurationAsText(const FormatStyle &Style) {
|
||||||
// reference here.
|
// reference here.
|
||||||
FormatStyle NonConstStyle = Style;
|
FormatStyle NonConstStyle = Style;
|
||||||
Output << NonConstStyle;
|
Output << NonConstStyle;
|
||||||
Stream.flush();
|
return Stream.str();
|
||||||
return Text;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Returns the length of everything up to the first possible line break after
|
// Returns the length of everything up to the first possible line break after
|
||||||
|
|
Загрузка…
Ссылка в новой задаче