diff options
| author | Alp Toker <alp@nuanti.com> | 2014-06-26 02:07:06 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2014-06-26 02:07:06 +0000 |
| commit | 0843bff137fa43719744fba9d41fad4c827ab458 (patch) | |
| tree | 98a760c8a8f387ddd24843958a6e4cb3c92ce2f3 /clang | |
| parent | 40b8ba1496e54066b69c181b40d37ec1a823862b (diff) | |
| download | bcm5719-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.h | 1 |
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); |

