diff options
author | Anders Carlsson <andersca@mac.com> | 2011-04-14 00:40:03 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2011-04-14 00:40:03 +0000 |
commit | 752454092c4bfb4a1cbf2c968e799ad9da2e20f2 (patch) | |
tree | 03fdf7b1b732d0e6f284855c2907d74c53727d74 /clang/lib/Sema/SemaExprObjC.cpp | |
parent | 012323dee9c766ebd23311083e17dba948d81cf8 (diff) | |
download | bcm5719-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.cpp | 3 |
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()); } |