diff options
author | Puyan Lotfi <puyan@puyan.org> | 2019-08-22 23:44:34 +0000 |
---|---|---|
committer | Puyan Lotfi <puyan@puyan.org> | 2019-08-22 23:44:34 +0000 |
commit | 926f4f76c3f819d5c8441574c560ddc476f84722 (patch) | |
tree | 962e13e6dd9fdbd9d61c0ad9035e485f387be4cf /clang/test/InterfaceStubs/bad-format.cpp | |
parent | 83f533349137d47fec057f944cf06c7b396edfca (diff) | |
download | bcm5719-llvm-926f4f76c3f819d5c8441574c560ddc476f84722.tar.gz bcm5719-llvm-926f4f76c3f819d5c8441574c560ddc476f84722.zip |
[clang][ifs] Dropping older experimental interface stub formats.
I've been working on a new tool, llvm-ifs, for merging interface stub files
generated by clang and I've iterated on my derivative format of TBE to a newer
format. llvm-ifs will only support the new format, so I am going to drop the
older experimental interface stubs formats in this commit to make things
simpler.
Differential Revision: https://reviews.llvm.org/D66573
llvm-svn: 369719
Diffstat (limited to 'clang/test/InterfaceStubs/bad-format.cpp')
-rw-r--r-- | clang/test/InterfaceStubs/bad-format.cpp | 37 |
1 files changed, 34 insertions, 3 deletions
diff --git a/clang/test/InterfaceStubs/bad-format.cpp b/clang/test/InterfaceStubs/bad-format.cpp index 463f39aadc8..f13ea2fc76b 100644 --- a/clang/test/InterfaceStubs/bad-format.cpp +++ b/clang/test/InterfaceStubs/bad-format.cpp @@ -2,7 +2,38 @@ // RUN: not %clang -target x86_64-linux-gnu -o - -emit-interface-stubs \ // RUN: -interface-stub-version=bar-format %s 2>&1 | FileCheck %s +// RUN: not %clang -target x86_64-linux-gnu -o - -emit-interface-stubs \ +// RUN: -interface-stub-version=experimental-tapi-elf-v1 %s 2>&1 | \ +// RUN: FileCheck -check-prefix=CHECK-TAPI-DEPRECATED %s + +// RUN: not %clang -target x86_64-linux-gnu -o - -emit-interface-stubs \ +// RUN: -interface-stub-version=experimental-yaml-elf-v1 %s 2>&1 | \ +// RUN: FileCheck -check-prefix=CHECK-YAML-DEPRECATED %s + +// RUN: not %clang_cc1 -target x86_64-linux-gnu -o - -emit-interface-stubs \ +// RUN: -interface-stub-version=bar-format %s 2>&1 | FileCheck %s + +// RUN: not %clang_cc1 -target x86_64-linux-gnu -o - -emit-interface-stubs \ +// RUN: -interface-stub-version=experimental-tapi-elf-v1 %s 2>&1 | \ +// RUN: FileCheck -check-prefix=CHECK-TAPI-DEPRECATED %s + +// RUN: not %clang_cc1 -target x86_64-linux-gnu -o - -emit-interface-stubs \ +// RUN: -interface-stub-version=experimental-yaml-elf-v1 %s 2>&1 | \ +// RUN: FileCheck -check-prefix=CHECK-YAML-DEPRECATED %s + // CHECK: error: invalid value -// CHECK: '-interface-stub-version=<experimental-tapi-elf-v1 | -// CHECK: experimental-yaml-elf-v1>' in 'Must specify a valid interface -// CHECK: stub format type using +// CHECK: 'Invalid interface stub format: bar-format.' in 'Must specify a +// CHECK: valid interface stub format type, ie: +// CHECK: -interface-stub-version=experimental-ifs-v1' + +// CHECK-TAPI-DEPRECATED: error: invalid value +// CHECK-TAPI-DEPRECATED: 'Invalid interface stub format: +// CHECK-TAPI-DEPRECATED: experimental-tapi-elf-v1 is deprecated.' in 'Must +// CHECK-TAPI-DEPRECATED: specify a valid interface stub format type, ie: +// CHECK-TAPI-DEPRECATED: -interface-stub-version=experimental-ifs-v1' + +// CHECK-YAML-DEPRECATED: error: invalid value +// CHECK-YAML-DEPRECATED: 'Invalid interface stub format: +// CHECK-YAML-DEPRECATED: experimental-yaml-elf-v1 is deprecated.' in 'Must +// CHECK-YAML-DEPRECATED: specify a valid interface stub format type, ie: +// CHECK-YAML-DEPRECATED: -interface-stub-version=experimental-ifs-v1' |