From: Alp Toker Date: Thu, 26 Jun 2014 02:07:06 +0000 (+0000) Subject: Make test from r211758 portable X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0843bff137fa43719744fba9d41fad4c827ab458;p=platform%2Fupstream%2Fllvm.git 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 --- diff --git a/clang/unittests/Tooling/TestVisitor.h b/clang/unittests/Tooling/TestVisitor.h index ae02fb5..205a0aa 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);