r237114 - clang-format: Make member introduced in r237108 const.

Daniel Jasper djasper at google.com
Tue May 12 04:14:07 PDT 2015


Author: djasper
Date: Tue May 12 06:14:06 2015
New Revision: 237114

URL: http://llvm.org/viewvc/llvm-project?rev=237114&view=rev
Log:
clang-format: Make member introduced in r237108 const.

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

Modified: cfe/trunk/lib/Format/UnwrappedLineFormatter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/UnwrappedLineFormatter.cpp?rev=237114&r1=237113&r2=237114&view=diff
==============================================================================
--- cfe/trunk/lib/Format/UnwrappedLineFormatter.cpp (original)
+++ cfe/trunk/lib/Format/UnwrappedLineFormatter.cpp Tue May 12 06:14:06 2015
@@ -109,8 +109,7 @@ private:
 
   const FormatStyle &Style;
   const AdditionalKeywords &Keywords;
-
-  unsigned AdditionalIndent;
+  const unsigned AdditionalIndent;
 
   /// \brief The indent in characters for each level.
   std::vector<int> IndentForLevel;





More information about the cfe-commits mailing list