Commit 5a5aee33 authored by Jim Meyering's avatar Jim Meyering Committed by Anton Likhtarov

folly/wangle: temporarily disable compilation of Thens.cpp

Summary:
This code fails to compile with clang:dev, so don't try for now.
* folly/wangle/test/Thens.cpp: Don't attempt to compile test/Thens.cpp.
See 4412111 for details.  Prompted by clang:dev+MSAN effort, 4090011.

Test Plan:
Run this:
fbconfig --clang --with-project-version clang:dev -r folly/wangle
fbmake runtests
Failed before, passes with this patch.

Reviewed By: hans@fb.com

Subscribers: folly@lists, fugalh

FB internal diff: D1354751

Tasks: 4090011, 4412111
parent 4460753f
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
#include "Thens.h" #include "Thens.h"
#ifndef __clang__
// TODO: fails to compile with clang:dev. See task #4412111
TEST(Future, thenVariants) { TEST(Future, thenVariants) {
SomeClass anObject; SomeClass anObject;
Executor* anExecutor; Executor* anExecutor;
...@@ -17,3 +20,5 @@ TEST(Future, thenVariants) { ...@@ -17,3 +20,5 @@ TEST(Future, thenVariants) {
{Future<B> f = someFuture<A>().then(aStdFunction<B, Try<A>&&>());} {Future<B> f = someFuture<A>().then(aStdFunction<B, Try<A>&&>());}
{Future<B> f = someFuture<A>().then([&](Try<A>&&){return B();});} {Future<B> f = someFuture<A>().then([&](Try<A>&&){return B();});}
} }
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment