diff options
author | Serge Pavlov <sepavloff@gmail.com> | 2017-05-11 08:25:22 +0000 |
---|---|---|
committer | Serge Pavlov <sepavloff@gmail.com> | 2017-05-11 08:25:22 +0000 |
commit | 738d3b97af3aa7fd8878879a639ba48a6254dbe8 (patch) | |
tree | fe2e8f69e0354d8b5f0181e5e920e59384132933 /clang/test/Index/index-attrs.cpp | |
parent | 1f53d03a15d3ba35fa19ffeb08d5dce1392e3139 (diff) | |
download | llvm-738d3b97af3aa7fd8878879a639ba48a6254dbe8.zip llvm-738d3b97af3aa7fd8878879a639ba48a6254dbe8.tar.gz llvm-738d3b97af3aa7fd8878879a639ba48a6254dbe8.tar.bz2 |
Reverted r302775
llvm-svn: 302777
Diffstat (limited to 'clang/test/Index/index-attrs.cpp')
-rw-r--r-- | clang/test/Index/index-attrs.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/clang/test/Index/index-attrs.cpp b/clang/test/Index/index-attrs.cpp index 0758a42..b6100ac 100644 --- a/clang/test/Index/index-attrs.cpp +++ b/clang/test/Index/index-attrs.cpp @@ -1,4 +1,4 @@ -// RUN: c-index-test -index-file %s -target armv7-windows-gnu -fdeclspec | FileCheck %s +// RUN: c-index-test -index-file -check-prefix CHECK %s -target armv7-windows-gnu -fdeclspec struct __declspec(dllexport) export_s { void m(); @@ -19,7 +19,7 @@ struct __declspec(dllimport) import_s { class __attribute__((dllexport)) export_gnu_s { void m(); }; -// CHECK: [indexDeclaration]: kind: c++-class | name: export_gnu_s | {{.*}} | lang: C++ +// CHECK: [indexDeclaration]: kind: struct | name: export_gnu_s | {{.*}} | lang: C++ // CHECK: <attribute>: attribute(dllexport) // CHECK: [indexDeclaration]: kind: c++-instance-method | name: m | {{.*}} | lang: C++ // CHECK: <attribute>: attribute(dllexport) @@ -27,24 +27,24 @@ class __attribute__((dllexport)) export_gnu_s { class __attribute__((dllimport)) import_gnu_s { void m(); }; -// CHECK: [indexDeclaration]: kind: c++-class | name: import_gnu_s | {{.*}} | lang: C++ +// CHECK: [indexDeclaration]: kind: struct | name: import_gnu_s | {{.*}} | lang: C++ // CHECK: <attribute>: attribute(dllimport) // CHECK: [indexDeclaration]: kind: c++-instance-method | name: m | {{.*}} | lang: C++ // CHECK: <attribute>: attribute(dllimport) extern "C" void __declspec(dllexport) export_function(void) {} -// CHECK: [indexDeclaration]: kind: function | name: export_function | {{.*}} | lang: C +// CHECK: [indexDeclaraton]: kind: function | name: export_function | {{.*}} | lang: C // CHECK: <attribute>: attribute(dllexport) extern "C" void __attribute__((dllexport)) export_gnu_function(void) {} -// CHECK: [indexDeclaration]: kind: function | name: export_gnu_function | {{.*}} | lang: C +// CHECK: [indexDeclaraton]: kind: function | name: export_gnu_function | {{.*}} | lang: C // CHECK: <attribute>: attribute(dllexport) extern "C" { void __declspec(dllimport) import_function(void); -// CHECK: [indexDeclaration]: kind: function | name: import_function | {{.*}} | lang: C +// CHECK: [indexDeclaration] kind: function | name: import_function | {{.*}} | lang: C // CHECK: <attribute>: attribute(dllimport) void __attribute__((dllimport)) import_gnu_function(void); -// CHECK: [indexDeclaration]: kind: function | name: import_gnu_function | {{.*}} | lang: C +// CHECK: [indexDeclaration] kind: function | name: import_gnu_function | {{.*}} | lang: C // CHECK: <attribute>: attribute(dllimport) } |