From 5133faa1ade9308b1e13a7eae287c06ff148e5ac Mon Sep 17 00:00:00 2001 From: Ben Nham Date: Fri, 8 Dec 2017 09:34:04 -0800 Subject: [PATCH] Revert D6155682: Use clang-5.0 -Oz Summary: This reverts commit 2f64e742f4dc44be171274c2ad0a41fb1e7079d7 bypass-lint Differential Revision: D6155682 fbshipit-source-id: 9139ed14e0d24784bf25b2783e364a511173ab83 --- yoga/Yoga.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/yoga/Yoga.cpp b/yoga/Yoga.cpp index 5bb0df89..fb0388d2 100644 --- a/yoga/Yoga.cpp +++ b/yoga/Yoga.cpp @@ -133,12 +133,6 @@ static int YGDefaultLog(const YGConfigRef config, #endif bool YGFloatIsUndefined(const float value) { -// TODO(gkm): Ugh! Some Android builds (r13b & clang-3.8) fail -// with the kludge below, so we must tailor it specifically for -// NDK r15c which has clang-5.0. NDK r16 will make it all better. -#if __ANDROID__ && __clang_major__ == 5 // TODO(gkm): remove for NDK >= 16 - using std::isnan; -#endif return isnan(value); }