Summary:
Remove lint errors from folly: trailing newlines
find folly | xargs arc lint | grep -B3 EOF | grep ">>>" | egrep -o "folly[^:]*" | xargs -n1 sed -i '$d'
folly/experimental/io/test/AsyncIOTest.cpp had two trailing newlines,
the second was removed by hand
@override-unit-failures
Test Plan:
fbconfig -r folly && fbmake runtests
Pretty overkill for a whitespace diff, but why not.
Reviewed By: robbert@fb.com
Subscribers: sdwilsh, fugalh, njormrod
FB internal diff:
D1561213
} // namespaces
#endif /* FOLLY_ATOMICBITSET_H_ */
-
#endif
#endif /* FOLLY_CHRONO_H_ */
-
} // namespace folly
#endif /* FOLLY_DISCRIMINATEDPTR_H_ */
-
} // namespace folly
#endif /* FOLLY_EXCEPTION_H_ */
-
} // namespace folly
#endif /* FOLLY_FORMATARG_H_ */
-
#endif /* FOLLY_X64 || defined(__i386__) */
#endif /* FOLLY_GROUPVARINT_H_ */
-
#endif
#endif /* FOLLY_BASE_LIKELY_H_ */
-
} // namespace folly
#endif /* FOLLY_MAPUTIL_H_ */
-
}} // namespace folly
#endif /* FOLLY_SAFEASSERT_H_ */
-
} // namespace folly
#endif /* FOLLY_SUBPROCESS_H_ */
-
} // namespace folly
#endif /* FOLLY_THREADCACHEDARENA_H_ */
-
} // namespace folly
#endif /* FOLLY_TIMEOUTQUEUE_H_ */
-
//////////////////////////////////////////////////////////////////////
}
-
} // namespaces
#endif /* FOLLY_VARINT_H_ */
-
} // namespace folly
#endif /* FOLLY_DETAIL_BITSDETAIL_H_ */
-
} }
#endif /* FOLLY_DETAIL_CacheLocality_H_ */
-
} // namespace folly
#endif /* FOLLY_DETAIL_DISCRIMINATEDPTRDETAIL_H_ */
-
}} // namespaces
#endif /* FOLLY_DETAIL_FILEUTILDETAIL_H_ */
-
} // namespace folly
#endif /* FOLLY_BUILD_FINGERPRINTPOLYNOMIAL_H_ */
-
} // namespace folly
#endif /* FOLLY_DETAIL_GROUPVARINTDETAIL_H_ */
-
//////////////////////////////////////////////////////////////////////
}
-
} // namespace folly
#endif /* FOLLY_EXPERIMENTAL_BITS_H_ */
-
} // namespace folly
#endif /* FOLLY_EXPERIMENTAL_EVENTCOUNT_H_ */
-
} // namespace folly
#endif /* FOLLY_TESTUTIL_H_ */
-
} // namespace __cxxabiv1
#endif /* FOLLY_EXPERIMENTAL_EXCEPTION_TRACER_EXCEPTIONABI_H_ */
-
} // namespace folly
#endif /* FOLLY_EXPERIMENTAL_EXCEPTION_TRACER_EXCEPTIONTRACER_H_ */
-
folly::runBenchmarks();
return 0;
}
-
}} // namespaces
#endif /* FOLLY_EXPERIMENTAL_EXCEPTION_TRACER_STACKTRACE_H_ */
-
} // namespace folly
#endif /* FOLLY_IO_ASYNCIO_H_ */
-
} // namespace fs
} // namespace folly
-
} // namespace folly
#endif /* FOLLY_IO_HUGEPAGES_H_ */
-
EXPECT_EQ(size, res);
EXPECT_EQ(aioReader.pending(), 0);
}
-
-
expectPathEq(c, canonical_parent(c));
expectPathEq(c, canonical_parent(d));
}
-
} // namespace symbolizer
} // namespace folly
-
} // namespace symbolizer
} // namespace folly
-
}} // namespaces
#endif /* FOLLY_SYMBOLIZER_ELFCACHE_H_ */
-
}} // namespaces
#endif /* FOLLY_SYMBOLIZER_LINEREADER_H_ */
-
}} // namespaces
#endif /* FOLLY_SYMBOLIZER_SIGNALHANDLER_H_ */
-
}} // namespaces
#endif /* FOLLY_SYMBOLIZER_STACKTRACE_H_ */
-
gflags::ParseCommandLineFlags(&argc, &argv, true);
return RUN_ALL_TESTS();
}
-
gflags::ParseCommandLineFlags(&argc, &argv, true);
return RUN_ALL_TESTS();
}
-
}} // namespaces
#endif /* FOLLY_IO_COMPRESSION_H_ */
-
} // namespace recordio_helpers
} // namespaces
-
#include <folly/io/RecordIO-inl.h>
#endif /* FOLLY_IO_RECORDIO_H_ */
-
} // namespace folly
#endif /* FOLLY_IO_TYPEDIOBUF_H_ */
-
gflags::ParseCommandLineFlags(&argc, &argv, true);
return RUN_ALL_TESTS();
}
-
CpuId id;
EXPECT_TRUE(id.mmx());
}
-
}
return RUN_ALL_TESTS();
}
-
}
return RUN_ALL_TESTS();
}
-
gflags::ParseCommandLineFlags(&argc, &argv, true);
return RUN_ALL_TESTS();
}
-
testLock(SHARED, true);
}
}
-
gflags::ParseCommandLineFlags(&argc, &argv, true);
return RUN_ALL_TESTS();
}
-
gflags::ParseCommandLineFlags(&argc, &argv, true);
return RUN_ALL_TESTS();
}
-
gflags::ParseCommandLineFlags(&argc, &argv, true);
return RUN_ALL_TESTS();
}
-
EXPECT_EQ(42, a[i]);
}
}
-
EXPECT_EQ(3, fooBase(p.get()));
EXPECT_EQ(3, fooDerived(p.get()));
}
-
succeed();
EXPECT_DEATH(fail(), ".*Assertion failure:.*hello.*");
}
-
EXPECT_EQ(std::numeric_limits<int64_t>::max(), q.runLoop(0));
EXPECT_EQ(100, count);
}
-
}
return RUN_ALL_TESTS();
}
-
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-