summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2013-08-20 22:42:13 +0000
committerFariborz Jahanian <fjahanian@apple.com>2013-08-20 22:42:13 +0000
commit301b52145f3e7874b44281a0ddbaeed045754fbc (patch)
tree98fc11d7083c807fbda8e467870cd6257d4e0cd3 /clang/test
parent22ce34aee8c697884d68bf2478b611db0d3e43fd (diff)
downloadbcm5719-llvm-301b52145f3e7874b44281a0ddbaeed045754fbc.tar.gz
bcm5719-llvm-301b52145f3e7874b44281a0ddbaeed045754fbc.zip
ObjectiveC migrator: make sure audited pragams are
dumped for last declarations in the current TU. wip. llvm-svn: 188838
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/ARCMT/objcmt-arc-cf-annotations.m5
-rw-r--r--clang/test/ARCMT/objcmt-arc-cf-annotations.m.result5
2 files changed, 2 insertions, 8 deletions
diff --git a/clang/test/ARCMT/objcmt-arc-cf-annotations.m b/clang/test/ARCMT/objcmt-arc-cf-annotations.m
index 91eaecc1c6c..bdd0e75d1d5 100644
--- a/clang/test/ARCMT/objcmt-arc-cf-annotations.m
+++ b/clang/test/ARCMT/objcmt-arc-cf-annotations.m
@@ -2037,7 +2037,4 @@ void rdar13783514(xpc_connection_t connection) {
xpc_connection_set_finalizer_f(connection, releaseAfterXPC);
} // no-warning
-CFAttributedStringRef CFAttributedCreate(long attributes) CF_RETURNS_RETAINED;
-CFTypeID CFGetTypeID(void) {
- return 0;
-}
+CFAttributedStringRef CFAttributedCreate(void *CFObj CF_CONSUMED) CF_RETURNS_RETAINED;
diff --git a/clang/test/ARCMT/objcmt-arc-cf-annotations.m.result b/clang/test/ARCMT/objcmt-arc-cf-annotations.m.result
index 9e96cb498d5..4adf834e91d 100644
--- a/clang/test/ARCMT/objcmt-arc-cf-annotations.m.result
+++ b/clang/test/ARCMT/objcmt-arc-cf-annotations.m.result
@@ -2100,10 +2100,7 @@ void rdar13783514(xpc_connection_t connection) {
CF_IMPLICIT_BRIDGING_ENABLED
-CFAttributedStringRef CFAttributedCreate(long attributes) CF_RETURNS_RETAINED;
+CFAttributedStringRef CFAttributedCreate(void *CFObj CF_CONSUMED) CF_RETURNS_RETAINED;
CF_IMPLICIT_BRIDGING_DISABLED
-CFTypeID CFGetTypeID(void) {
- return 0;
-}
OpenPOWER on IntegriCloud