summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/uncode-string.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-11-01 02:23:42 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-11-01 02:23:42 +0000
commitfcec630a57b6c6d30d6d0d6c0ed95c21fe96a5bd (patch)
tree31dcc35909782f2d6ab9fb0d02454fe351560775 /clang/test/CodeGenCXX/uncode-string.cpp
parent703e7153af87981472770a793cb25d4893d381ec (diff)
downloadbcm5719-llvm-fcec630a57b6c6d30d6d0d6c0ed95c21fe96a5bd.tar.gz
bcm5719-llvm-fcec630a57b6c6d30d6d0d6c0ed95c21fe96a5bd.zip
Fix the representation of wide strings in the AST and IR so that it uses the native representation of integers for the elements. This fixes a bunch of nastiness involving
treating wide strings as a series of bytes. Patch by Seth Cantrell. llvm-svn: 143417
Diffstat (limited to 'clang/test/CodeGenCXX/uncode-string.cpp')
-rw-r--r--clang/test/CodeGenCXX/uncode-string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/uncode-string.cpp b/clang/test/CodeGenCXX/uncode-string.cpp
index e5431497479..1d839992f9c 100644
--- a/clang/test/CodeGenCXX/uncode-string.cpp
+++ b/clang/test/CodeGenCXX/uncode-string.cpp
@@ -3,4 +3,4 @@
wchar_t s[] = L"\u2722";
-// CHECK: @s = global [8 x i8] c"\22'\00\00\00\00\00\00"
+// CHECK: @s = global [2 x i32] [i32 10018, i32 0], align 4
OpenPOWER on IntegriCloud