projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6518a8
)
Add test for ObjC generics
author
Stephen Kelly
<steveire@gmail.com>
Thu, 6 Dec 2018 09:23:59 +0000
(09:23 +0000)
committer
Stephen Kelly
<steveire@gmail.com>
Thu, 6 Dec 2018 09:23:59 +0000
(09:23 +0000)
llvm-svn: 348471
clang/test/AST/ast-dump-decl.m
patch
|
blob
|
history
diff --git
a/clang/test/AST/ast-dump-decl.m
b/clang/test/AST/ast-dump-decl.m
index
4cfb8aa
..
b95ca1a
100644
(file)
--- a/
clang/test/AST/ast-dump-decl.m
+++ b/
clang/test/AST/ast-dump-decl.m
@@
-81,6
+81,14
@@
// CHECK-NEXT: ObjCProtocol{{.*}} 'P'
// CHECK-NEXT: ObjCMethodDecl{{.*}} bar
+@interface TestGenericInterface<T> : A<P> {
+}
+@end
+// CHECK: ObjCInterfaceDecl{{.*}} TestGenericInterface
+// CHECK-NEXT: -ObjCTypeParamDecl
+// CHECK-NEXT: -super ObjCInterface
+// CHECK-NEXT: -ObjCProtocol
+
@implementation TestObjCClass (TestObjCCategoryDecl)
- (void) bar {
}