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
This commit is contained in:
Alp Toker 2014-06-26 02:07:06 +00:00
parent 40b8ba1496
commit 0843bff137
1 changed files with 1 additions and 0 deletions

View File

@ -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);