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 | 3e833a8a8c90b1e9eedb995413a79b4259be90ab (patch) | |
tree | 3f6baccf6e7e5845b1bb75c9bda2a011f260353d | |
parent | c912e4c787ae01a34fa48576e099fcb5950dd828 (diff) | |
download | clang-3e833a8a8c90b1e9eedb995413a79b4259be90ab.tar.gz clang-3e833a8a8c90b1e9eedb995413a79b4259be90ab.tar.bz2 clang-3e833a8a8c90b1e9eedb995413a79b4259be90ab.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211761 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | unittests/Tooling/TestVisitor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unittests/Tooling/TestVisitor.h b/unittests/Tooling/TestVisitor.h index ae02fb5ebb..205a0aa16e 100644 --- a/unittests/Tooling/TestVisitor.h +++ b/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); |