projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40b8ba1
)
Make test from r211758 portable
author
Alp Toker
<alp@nuanti.com>
Thu, 26 Jun 2014 02:07:06 +0000
(
02:07
+0000)
committer
Alp Toker
<alp@nuanti.com>
Thu, 26 Jun 2014 02:07:06 +0000
(
02:07
+0000)
It turns out the -fblocks option is determined by the default tooling target
and not implied by the other two flags.
llvm-svn: 211761
clang/unittests/Tooling/TestVisitor.h
patch
|
blob
|
history
diff --git
a/clang/unittests/Tooling/TestVisitor.h
b/clang/unittests/Tooling/TestVisitor.h
index
ae02fb5
..
205a0aa
100644
(file)
--- 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);