summaryrefslogtreecommitdiff
path: root/test/LLVMC/TestWarnings.td
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2009-12-15 03:04:52 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2009-12-15 03:04:52 +0000
commite4ac23a0ffbf3ad6eb94fce4e0fb2b934b84cbe4 (patch)
tree6f53530e91bde17f4c0d73fbc6b249d15c273847 /test/LLVMC/TestWarnings.td
parentb5fab402d02671f92ea7fc6166ba80e00d6a8388 (diff)
downloadllvm-e4ac23a0ffbf3ad6eb94fce4e0fb2b934b84cbe4.tar.gz
llvm-e4ac23a0ffbf3ad6eb94fce4e0fb2b934b84cbe4.tar.bz2
llvm-e4ac23a0ffbf3ad6eb94fce4e0fb2b934b84cbe4.tar.xz
Validate the generated C++ code in llvmc tests.
Checks that the code generated by 'tblgen --emit-llvmc' can be actually compiled. Also fixes two bugs found in this way: - forward_transformed_value didn't work with non-list arguments - cl::ZeroOrOne is now called cl::Optional git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91404 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/LLVMC/TestWarnings.td')
-rw-r--r--test/LLVMC/TestWarnings.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/LLVMC/TestWarnings.td b/test/LLVMC/TestWarnings.td
index 1a4064e44b..9523e24702 100644
--- a/test/LLVMC/TestWarnings.td
+++ b/test/LLVMC/TestWarnings.td
@@ -1,4 +1,4 @@
-// Check that the compiler warns about unused options.
+// Check that warnings about unused options are really emitted.
// This should fail because the output is printed on stderr.
// RUN: ignore tblgen -I %p/../../include --gen-llvmc %s |& grep "option '-Wall' has no effect!"