]> granicus.if.org Git - clang/commitdiff
tidy up
authorChris Lattner <sabre@nondot.org>
Tue, 15 Jun 2010 18:05:34 +0000 (18:05 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 15 Jun 2010 18:05:34 +0000 (18:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106011 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaExpr.cpp

index bf331c97bda2eae24b5756957d33209f8b156b92..c13520e3713c8f570efcfe76039ad128a00e6d88 100644 (file)
@@ -388,7 +388,7 @@ Sema::ActOnStringLiteral(const Token *StringToks, unsigned NumStringToks) {
   if (Literal.Pascal) StrTy = Context.UnsignedCharTy;
 
   // A C++ string literal has a const-qualified element type (C++ 2.13.4p1).
-  if (getLangOptions().CPlusPlus || getLangOptions().ConstStrings )
+  if (getLangOptions().CPlusPlus || getLangOptions().ConstStrings)
     StrTy.addConst();
 
   // Get an array type for the string, according to C99 6.4.5.  This includes