summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjCXX/arc-nsconsumed-errors.mm
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2016-03-03 00:10:03 +0000
committerJohn McCall <rjmccall@apple.com>2016-03-03 00:10:03 +0000
commit3b5a8f5ffc83a92fe865e53f7b7af8f0be635bd8 (patch)
tree227076e392c489c0f986d018f110ca64299ae362 /clang/test/SemaObjCXX/arc-nsconsumed-errors.mm
parenta1ee70ba752bedb1904c315d753c2be607a9a463 (diff)
downloadbcm5719-llvm-3b5a8f5ffc83a92fe865e53f7b7af8f0be635bd8.tar.gz
bcm5719-llvm-3b5a8f5ffc83a92fe865e53f7b7af8f0be635bd8.zip
Improve some infrastructure for extended parameter infos and
fix a bug with the instantiation of ns_consumed parameter attributes in ARC. llvm-svn: 262551
Diffstat (limited to 'clang/test/SemaObjCXX/arc-nsconsumed-errors.mm')
-rw-r--r--clang/test/SemaObjCXX/arc-nsconsumed-errors.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaObjCXX/arc-nsconsumed-errors.mm b/clang/test/SemaObjCXX/arc-nsconsumed-errors.mm
index c78d8a5f4ad..638a1ebd2ad 100644
--- a/clang/test/SemaObjCXX/arc-nsconsumed-errors.mm
+++ b/clang/test/SemaObjCXX/arc-nsconsumed-errors.mm
@@ -29,9 +29,9 @@ void releaser(__attribute__((ns_consumed)) id);
releaser_t r2 = releaser; // no-warning
template <typename T>
-void templateFunction(T) { } // expected-note {{candidate template ignored: could not match 'void (__strong id)' against 'void (id)'}} \
+void templateFunction(T) { } // expected-note {{candidate template ignored: could not match 'void (__strong id)' against 'void (__attribute__((ns_consumed)) id)'}} \
// expected-note {{candidate template ignored: failed template argument deduction}}
-releaser_t r3 = templateFunction<id>; // expected-error {{address of overloaded function 'templateFunction' does not match required type 'void (id)'}}
+releaser_t r3 = templateFunction<id>; // expected-error {{address of overloaded function 'templateFunction' does not match required type 'void (__attribute__((ns_consumed)) id)'}}
template <typename T>
void templateReleaser(__attribute__((ns_consumed)) T) { } // expected-note 2{{candidate template ignored: failed template argument deduction}}
OpenPOWER on IntegriCloud