aboutsummaryrefslogtreecommitdiff
path: root/test/LLVMC
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2010-10-23 07:32:53 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2010-10-23 07:32:53 +0000
commita73e5864951b2d4f50166d0155b8b99e4e7af535 (patch)
treefd3da6076001687bfada0af55a863ede8690a1c5 /test/LLVMC
parent17ef94fe1b714c437dfeca3bfdd72b37d8771c49 (diff)
Remove -llvmc-temp-hack from tblgen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117197 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/LLVMC')
-rw-r--r--test/LLVMC/MultipleOutputLanguages.td6
-rw-r--r--test/LLVMC/OptionPreprocessor.td10
2 files changed, 8 insertions, 8 deletions
diff --git a/test/LLVMC/MultipleOutputLanguages.td b/test/LLVMC/MultipleOutputLanguages.td
index 16ce6be85c..ae0c92eefc 100644
--- a/test/LLVMC/MultipleOutputLanguages.td
+++ b/test/LLVMC/MultipleOutputLanguages.td
@@ -1,5 +1,5 @@
// Check that multiple output languages work.
-// RUN: tblgen -I %p/../../include -llvmc-temp-hack --gen-llvmc %s -o %t
+// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx %t
// XFAIL: vg_leak
@@ -9,12 +9,12 @@ include "llvm/CompilerDriver/Common.td"
def dummy_tool : Tool<[
(command "dummy_cmd"),
(in_language "dummy_lang"),
- (out_language ["another_dummy_lang", "yet_another_dummy_lang"])
+ (out_language "another_dummy_lang", "yet_another_dummy_lang")
]>;
def another_dummy_tool : Tool<[
(command "another_dummy_cmd"),
- (in_language ["another_dummy_lang", "some_other_dummy_lang"]),
+ (in_language "another_dummy_lang", "some_other_dummy_lang"),
(out_language "executable"),
(join)
]>;
diff --git a/test/LLVMC/OptionPreprocessor.td b/test/LLVMC/OptionPreprocessor.td
index 44670cee93..5fdc35a187 100644
--- a/test/LLVMC/OptionPreprocessor.td
+++ b/test/LLVMC/OptionPreprocessor.td
@@ -1,5 +1,5 @@
// Test for the OptionPreprocessor and related functionality.
-// RUN: tblgen -I %p/../../include -llvmc-temp-hack --gen-llvmc %s -o %t
+// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx %t
// XFAIL: vg_leak
@@ -22,7 +22,7 @@ def Preprocess : OptionPreprocessor<
// CHECK: foo = false;
// CHECK: foo_p = "";
// CHECK: foo_l.clear();
- (and (switch_on "foo"), (any_switch_on ["bar", "baz"])),
+ (and (switch_on "foo"), (any_switch_on "bar", "baz")),
[(warning "W1"), (unset_option "foo"),
(unset_option "foo_p"), (unset_option "foo_l")],
// CHECK: W2
@@ -34,7 +34,7 @@ def Preprocess : OptionPreprocessor<
// CHECK: foo_l.push_back("qwert");
// CHECK: foo_l.push_back("yuiop");
// CHECK: foo_l.push_back("asdf");
- (and (switch_on ["foo", "bar"]), (any_empty ["foo_p", "bar_p"])),
+ (and (switch_on "foo", "bar"), (any_empty "foo_p", "bar_p")),
[(warning "W2"), (set_option "foo"),
(set_option "bar", true),
(set_option "baz", false),
@@ -44,8 +44,8 @@ def Preprocess : OptionPreprocessor<
// CHECK: foo = true;
// CHECK: bar = true;
// CHECK: baz = true;
- (and (empty ["foo_p", "bar_p"]), (any_not_empty ["baz_p"])),
- [(warning "W3"), (set_option ["foo", "bar", "baz"])])
+ (and (empty "foo_p", "bar_p"), (any_not_empty "baz_p")),
+ [(warning "W3"), (set_option "foo", "bar", "baz")])
>;
// Shut up warnings...