Test Plan:
fbconfig -r folly/test && fbmake opt -j32
Reviewed By: tjackson@fb.com
FB internal diff:
D935182
template<class Target, class=void>
inline Target passthrough(Target target) { return target; }
+#pragma GCC diagnostic push
+#ifdef __clang__
+// Clang isn't happy with eatField() hack below.
+#pragma GCC diagnostic ignored "-Wreturn-stack-address"
+#endif // __clang__
+
/**
* ParseToTuple - For splitting a record and immediatlely converting it to a
* target tuple type. Primary used through the 'eachToTuple' helper, like so:
}
};
+#pragma GCC diagnostic pop
+
} // namespace detail
} // namespace gen