summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-06-26 02:07:06 +0000
committerAlp Toker <alp@nuanti.com>2014-06-26 02:07:06 +0000
commit0843bff137fa43719744fba9d41fad4c827ab458 (patch)
tree98a760c8a8f387ddd24843958a6e4cb3c92ce2f3 /clang
parent40b8ba1496e54066b69c181b40d37ec1a823862b (diff)
downloadbcm5719-llvm-0843bff137fa43719744fba9d41fad4c827ab458.tar.gz
bcm5719-llvm-0843bff137fa43719744fba9d41fad4c827ab458.zip
Make test from r211758 portable
It turns out the -fblocks option is determined by the default tooling target and not implied by the other two flags. llvm-svn: 211761
Diffstat (limited to 'clang')
-rw-r--r--clang/unittests/Tooling/TestVisitor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/unittests/Tooling/TestVisitor.h b/clang/unittests/Tooling/TestVisitor.h
index ae02fb5ebbf..205a0aa16eb 100644
--- a/clang/unittests/Tooling/TestVisitor.h
+++ b/clang/unittests/Tooling/TestVisitor.h
@@ -59,6 +59,7 @@ public:
case Lang_OBJCXX11:
Args.push_back("-ObjC++");
Args.push_back("-std=c++11");
+ Args.push_back("-fblocks");
break;
}
return tooling::runToolOnCodeWithArgs(CreateTestAction(), Code, Args);
OpenPOWER on IntegriCloud