summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-06-15 18:05:34 +0000
committerChris Lattner <sabre@nondot.org>2010-06-15 18:05:34 +0000
commita8687ae490f3c1b27475785eed9fb64984fe2b7c (patch)
tree933ba3c3c9400f2d4d89b1c9b70c025a2f2b0f90
parentc1b1729b667774f88fd78ef8be6b31810863b286 (diff)
downloadbcm5719-llvm-a8687ae490f3c1b27475785eed9fb64984fe2b7c.tar.gz
bcm5719-llvm-a8687ae490f3c1b27475785eed9fb64984fe2b7c.zip
tidy up
llvm-svn: 106011
-rw-r--r--clang/lib/Sema/SemaExpr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp
index bf331c97bda..c13520e3713 100644
--- a/clang/lib/Sema/SemaExpr.cpp
+++ b/clang/lib/Sema/SemaExpr.cpp
@@ -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
OpenPOWER on IntegriCloud