r185296 - Make string pointer const.
Craig Topper
craig.topper at gmail.com
Sun Jun 30 15:44:02 PDT 2013
Author: ctopper
Date: Sun Jun 30 17:44:02 2013
New Revision: 185296
URL: http://llvm.org/viewvc/llvm-project?rev=185296&view=rev
Log:
Make string pointer const.
Modified:
cfe/trunk/lib/Format/BreakableToken.cpp
Modified: cfe/trunk/lib/Format/BreakableToken.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/BreakableToken.cpp?rev=185296&r1=185295&r2=185296&view=diff
==============================================================================
--- cfe/trunk/lib/Format/BreakableToken.cpp (original)
+++ cfe/trunk/lib/Format/BreakableToken.cpp Sun Jun 30 17:44:02 2013
@@ -26,7 +26,7 @@ namespace clang {
namespace format {
namespace {
-static const char *Blanks = " \t\v\f";
+static const char *const Blanks = " \t\v\f";
static bool IsBlank(char C) {
switch (C) {
case ' ':
More information about the cfe-commits
mailing list