summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2012-04-18 07:41:50 +0000
committerManuel Klimek <klimek@google.com>2012-04-18 07:41:50 +0000
commit30318e6df9c8c24d080211dfb92ef8065fa7381c (patch)
tree928c1951e5c086cb47024a690c0fa85579ed2a59 /test
parent6403683411dac55afbe3435ceb19033e27cd9f96 (diff)
Adds a FixedCompilationDatabase to be able to specify tool parameters
at the command line. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154989 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Tooling/clang-check-args.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Tooling/clang-check-args.cpp b/test/Tooling/clang-check-args.cpp
new file mode 100644
index 0000000000..a14fc7bcd6
--- /dev/null
+++ b/test/Tooling/clang-check-args.cpp
@@ -0,0 +1,8 @@
+// RUN: clang-check . "%s" -- -c 2>&1 | FileCheck %s
+
+// CHECK: C++ requires
+invalid;
+
+// FIXME: JSON doesn't like path separator '\', on Win32 hosts.
+// FIXME: clang-check doesn't like gcc driver on cygming.
+// XFAIL: cygwin,mingw32,win32