]> granicus.if.org Git - clang/commitdiff
Fix style according to post-commit review comments.
authorManuel Klimek <klimek@google.com>
Mon, 13 May 2013 12:53:04 +0000 (12:53 +0000)
committerManuel Klimek <klimek@google.com>
Mon, 13 May 2013 12:53:04 +0000 (12:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181701 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Format/WhitespaceManager.cpp

index 21e38b1e979e9e750f3f55e66878c40ccbbb8016..7ffebacba58262478bc5ab9ee26607ee96a2f14e 100644 (file)
@@ -143,9 +143,9 @@ std::string WhitespaceManager::getNewLineText(unsigned NewLines,
 }
 
 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, ' ');
 }