aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon Atanasyan <satanasyan@mips.com>2012-05-09 16:18:30 +0000
committerSimon Atanasyan <satanasyan@mips.com>2012-05-09 16:18:30 +0000
commita01ddc787b5c8b1cf11e975d3586908d3629954c (patch)
tree5358de2a3762116e1e2e6887a43bcd2993859778 /test
parent4c4cc16dbb4ab44909ea3cbb43609ef5ea19b9d2 (diff)
Declare abstract class ArgumentsAdjuster. This abstract interface describes
a command line argument adjuster, which is responsible for command line arguments modification before the arguments are used to run a frontend action. Define class ClangSyntaxOnlyAdjuster implements ArgumentsAdjuster interface. This class converts input command line arguments to the "syntax check only" variant. Reviewed by Manuel Klimek. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156478 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Tooling/multi-jobs.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Tooling/multi-jobs.cpp b/test/Tooling/multi-jobs.cpp
new file mode 100644
index 0000000000..e330d18b9c
--- /dev/null
+++ b/test/Tooling/multi-jobs.cpp
@@ -0,0 +1,8 @@
+// RUN: clang-check . "%s" -- -no-integrated-as -c 2>&1 | FileCheck %s
+
+// CHECK: C++ requires
+invalid;
+
+// FIXME: clang-check doesn't like gcc driver on cygming.
+// XFAIL: cygwin,mingw32,win32
+