[PATCH] D114031: Full matching for version numbers.

James Farrell via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 16 13:50:45 PST 2021


jamesfarrell created this revision.
jamesfarrell requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114031

Files:
  clang/test/Sema/attr-availability-android.c


Index: clang/test/Sema/attr-availability-android.c
===================================================================
--- clang/test/Sema/attr-availability-android.c
+++ clang/test/Sema/attr-availability-android.c
@@ -11,7 +11,7 @@
 void f4(int) __attribute__((availability(android,introduced=9,deprecated=11,obsoleted=16), availability(ios,introduced=2.0,deprecated=3.0))); // expected-note{{explicitly marked unavailable}}
 void f5(int) __attribute__((availability(ios,introduced=3.2), availability(android,unavailable))); // expected-note{{'f5' has been explicitly marked unavailable here}}
 #ifdef WARN_PARTIAL
-// expected-note at +2 {{'f6' has been marked as being introduced in Android 31 here, but the deployment target is Android 21}}
+// expected-note-re at +2 {{'f6' has been marked as being introduced in Android 31 here, but the deployment target is Android 21{{$}}}}
 #endif
 void f6(int) __attribute__((availability(android,introduced=31)));
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114031.387756.patch
Type: text/x-patch
Size: 954 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211116/9e6a991e/attachment.bin>


More information about the cfe-commits mailing list