summaryrefslogtreecommitdiffstats
path: root/clang/test/FixIt/fixit-pragma-attribute.cpp
diff options
context:
space:
mode:
authorErik Pilkington <erik.pilkington@gmail.com>2019-04-11 17:55:30 +0000
committerErik Pilkington <erik.pilkington@gmail.com>2019-04-11 17:55:30 +0000
commitc5a0583400b71f81faf9dedfaab094720c2ef823 (patch)
tree5cecf0481ac9204698f89067c5c2d680e2341c39 /clang/test/FixIt/fixit-pragma-attribute.cpp
parent7822b4618853a41aaa5ee3a7f14e0e32b1d29a64 (diff)
downloadbcm5719-llvm-c5a0583400b71f81faf9dedfaab094720c2ef823.tar.gz
bcm5719-llvm-c5a0583400b71f81faf9dedfaab094720c2ef823.zip
Add support for attributes on @implementations in Objective-C
We want to make objc_nonlazy_class apply to implementations, but ran into this. There doesn't seem to be any reason that this isn't supported. Differential revision: https://reviews.llvm.org/D60542 llvm-svn: 358200
Diffstat (limited to 'clang/test/FixIt/fixit-pragma-attribute.cpp')
-rw-r--r--clang/test/FixIt/fixit-pragma-attribute.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/FixIt/fixit-pragma-attribute.cpp b/clang/test/FixIt/fixit-pragma-attribute.cpp
index 8e3f6d9392f..9d772fd6672 100644
--- a/clang/test/FixIt/fixit-pragma-attribute.cpp
+++ b/clang/test/FixIt/fixit-pragma-attribute.cpp
@@ -16,8 +16,8 @@
// CHECK: fix-it:{{.*}}:{[[@LINE-2]]:133-[[@LINE-2]]:153}:""
#pragma clang attribute push (__attribute__((annotate("subRuleContradictions"))), apply_to = any(variable, variable(is_parameter), function(is_member), variable(is_global)))
-// CHECK: fix-it:{{.*}}:{[[@LINE-1]]:108-[[@LINE-1]]:132}:""
-// CHECK: fix-it:{{.*}}:{[[@LINE-2]]:153-[[@LINE-2]]:172}:""
+// CHECK: fix-it:{{.*}}:{[[@LINE-1]]:153-[[@LINE-1]]:172}:""
+// CHECK: fix-it:{{.*}}:{[[@LINE-2]]:108-[[@LINE-2]]:132}:""
#pragma clang attribute pop
OpenPOWER on IntegriCloud