r181701 - Fix style according to post-commit review comments.

Manuel Klimek klimek at google.com
Mon May 13 05:53:04 PDT 2013


Author: klimek
Date: Mon May 13 07:53:04 2013
New Revision: 181701

URL: http://llvm.org/viewvc/llvm-project?rev=181701&view=rev
Log:
Fix style according to post-commit review comments.

Modified:
    cfe/trunk/lib/Format/WhitespaceManager.cpp

Modified: cfe/trunk/lib/Format/WhitespaceManager.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/WhitespaceManager.cpp?rev=181701&r1=181700&r2=181701&view=diff
==============================================================================
--- cfe/trunk/lib/Format/WhitespaceManager.cpp (original)
+++ cfe/trunk/lib/Format/WhitespaceManager.cpp Mon May 13 07:53:04 2013
@@ -143,9 +143,9 @@ std::string WhitespaceManager::getNewLin
 }
 
 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, ' ');
 }





More information about the cfe-commits mailing list