Fix style according to post-commit review comments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181701 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Format/WhitespaceManager.cpp b/lib/Format/WhitespaceManager.cpp
index 21e38b1..7ffebac 100644
--- a/lib/Format/WhitespaceManager.cpp
+++ b/lib/Format/WhitespaceManager.cpp
@@ -143,9 +143,9 @@
}
std::string WhitespaceManager::getIndentText(unsigned Spaces) {
- if (!Style.UseTab) {
+ if (!Style.UseTab)
return std::string(Spaces, ' ');
- }
+
return std::string(Spaces / Style.IndentWidth, '\t') +
std::string(Spaces % Style.IndentWidth, ' ');
}