summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/attributes.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-06-20 04:01:35 +0000
committerChris Lattner <sabre@nondot.org>2011-06-20 04:01:35 +0000
commite64d7ba153cae6c196ece68bad4536494e97ccb6 (patch)
treeea88bec822eba15c1e58b69cf16164876a3748d8 /clang/test/CodeGen/attributes.c
parentcc19efaa97b3e1c2988042d716577831e813fdb9 (diff)
downloadbcm5719-llvm-e64d7ba153cae6c196ece68bad4536494e97ccb6.tar.gz
bcm5719-llvm-e64d7ba153cae6c196ece68bad4536494e97ccb6.zip
Update to match mainline ConstantStruct::get API change. Also, use
ConvertType on InitListExprs as they are being converted. This is needed for a forthcoming patch, and improves the IR generated anyway (see additional type names in testcases). This patch also converts a bunch of std::vector's in CGObjCMac to use C arrays. There are a ton more that should be converted as well. llvm-svn: 133413
Diffstat (limited to 'clang/test/CodeGen/attributes.c')
-rw-r--r--clang/test/CodeGen/attributes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/attributes.c b/clang/test/CodeGen/attributes.c
index 770ce766dfb..4e73af60439 100644
--- a/clang/test/CodeGen/attributes.c
+++ b/clang/test/CodeGen/attributes.c
@@ -4,7 +4,7 @@
// CHECK: @t5 = weak global i32 2
int t5 __attribute__((weak)) = 2;
-// CHECK: @t13 = global %0 zeroinitializer, section "SECT"
+// CHECK: @t13 = global %struct.s0 zeroinitializer, section "SECT"
struct s0 { int x; };
struct s0 t13 __attribute__((section("SECT"))) = { 0 };
OpenPOWER on IntegriCloud