Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Index / subclass-comment.mm
blob273d0bc127ec3384e397d33ee924de6984e52b53
1 // RUN: rm -rf %t
2 // RUN: mkdir %t
3 // RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng %s > %t/out
4 // RUN: FileCheck %s < %t/out
6 //! NSObject is root of all.
7 @interface NSObject
8 @end
9 // CHECK:  CommentAST=[
10 // CHECK-NEXT:    (CXComment_FullComment
11 // CHECK-NEXT:       (CXComment_Paragraph
12 // CHECK-NEXT:         (CXComment_Text Text=[ NSObject is root of all.])))]
14 //! An umbrella class for super classes.
15 @interface SuperClass
16 @end
17 // CHECK:  CommentAST=[
18 // CHECK-NEXT:    (CXComment_FullComment
19 // CHECK-NEXT:       (CXComment_Paragraph
20 // CHECK-NEXT:         (CXComment_Text Text=[ An umbrella class for super classes.])))]
22 @interface SubClass : SuperClass
23 @end
24 // CHECK:  CommentAST=[
25 // CHECK-NEXT:    (CXComment_FullComment
26 // CHECK-NEXT:       (CXComment_Paragraph
27 // CHECK-NEXT:         (CXComment_Text Text=[ An umbrella class for super classes.])))]
29 @interface SubSubClass : SubClass
30 @end
31 // CHECK:  CommentAST=[
32 // CHECK-NEXT:    (CXComment_FullComment
33 // CHECK-NEXT:       (CXComment_Paragraph
34 // CHECK-NEXT:         (CXComment_Text Text=[ An umbrella class for super classes.])))]
36 @interface SubSubClass (Private)
37 @end
38 // CHECK:  CommentAST=[
39 // CHECK-NEXT:    (CXComment_FullComment
40 // CHECK-NEXT:       (CXComment_Paragraph
41 // CHECK-NEXT:         (CXComment_Text Text=[ An umbrella class for super classes.])))]