summaryrefslogtreecommitdiffstats
path: root/test/SemaOpenCL
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-04-19 19:07:31 +0000
committerAlp Toker <alp@nuanti.com>2014-04-19 19:07:31 +0000
commit3eb0b40068340eaf0a269bda288d2fcca29262ef (patch)
tree8dc3e268b4d46ea92f663541a69907135b4afecb /test/SemaOpenCL
parentb599ccb3eb246bdd56c305b2fe5dc754dfb00499 (diff)
Disallow driver use in more Sema tests
There are now only a handful of Sema tests remaining that use %clang in SemaCXX, SemaObjC and SemaTemplate. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206688 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaOpenCL')
-rw-r--r--test/SemaOpenCL/lit.local.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/SemaOpenCL/lit.local.cfg b/test/SemaOpenCL/lit.local.cfg
new file mode 100644
index 0000000000..f4ef5d2fa0
--- /dev/null
+++ b/test/SemaOpenCL/lit.local.cfg
@@ -0,0 +1,4 @@
+config.substitutions = list(config.substitutions)
+config.substitutions.insert(0,
+ (r'%clang\b',
+ """*** Do not use the driver in Sema tests. ***""") )