summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaExprObjC.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2011-04-14 00:40:03 +0000
committerAnders Carlsson <andersca@mac.com>2011-04-14 00:40:03 +0000
commit752454092c4bfb4a1cbf2c968e799ad9da2e20f2 (patch)
tree03fdf7b1b732d0e6f284855c2907d74c53727d74 /clang/lib/Sema/SemaExprObjC.cpp
parent012323dee9c766ebd23311083e17dba948d81cf8 (diff)
downloadbcm5719-llvm-752454092c4bfb4a1cbf2c968e799ad9da2e20f2.tar.gz
bcm5719-llvm-752454092c4bfb4a1cbf2c968e799ad9da2e20f2.zip
Add a flag to StringLiteral to keep track of whether the string is a pascal string or not.
llvm-svn: 129488
Diffstat (limited to 'clang/lib/Sema/SemaExprObjC.cpp')
-rw-r--r--clang/lib/Sema/SemaExprObjC.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaExprObjC.cpp b/clang/lib/Sema/SemaExprObjC.cpp
index 3cc9754b064..c769b856cd9 100644
--- a/clang/lib/Sema/SemaExprObjC.cpp
+++ b/clang/lib/Sema/SemaExprObjC.cpp
@@ -62,7 +62,8 @@ ExprResult Sema::ParseObjCStringLiteral(SourceLocation *AtLocs,
// Create the aggregate string with the appropriate content and location
// information.
- S = StringLiteral::Create(Context, &StrBuf[0], StrBuf.size(), false,
+ S = StringLiteral::Create(Context, &StrBuf[0], StrBuf.size(),
+ /*Wide=*/false, /*Pascal=*/false,
Context.getPointerType(Context.CharTy),
&StrLocs[0], StrLocs.size());
}
OpenPOWER on IntegriCloud