# ifdef _USE_ATTRIBUTES_FOR_SAL
# undef _USE_ATTRIBUTES_FOR_SAL
# endif
+/* nolint */
# define _USE_ATTRIBUTES_FOR_SAL 1
# include <sal.h>
# define FOLLY_PRINTF_FORMAT _Printf_format_string_
// portable version check
#ifndef __GNUC_PREREQ
# if defined __GNUC__ && defined __GNUC_MINOR__
+/* nolint */
# define __GNUC_PREREQ(maj, min) ((__GNUC__ << 16) + __GNUC_MINOR__ >= \
((maj) << 16) + (min))
# else
+/* nolint */
# define __GNUC_PREREQ(maj, min) 0
# endif
#endif
# define strerror_r(errno,buf,len) strerror_s(buf,len,errno)
// compiler specific to compiler specific
+// nolint
# define __PRETTY_FUNCTION__ __FUNCSIG__
#endif
// arch/x86/include/asm/unistd_{32,64}.h
#ifndef __NR_eventfd2
#if FOLLY_X64
+/* nolint */
#define __NR_eventfd2 290
#elif defined(__i386__)
+/* nolint */
#define __NR_eventfd2 328
#else
#error "Can't define __NR_eventfd2 for your architecture."
} // namespace
-#if FOLLY_HAVE_STD__THIS_THREAD__SLEEP_FOR
+#if FOLLY_HAVE_STD_THIS_THREAD_SLEEP_FOR
TEST(ThreadLocal, Stress) {
constexpr size_t numFillObjects = 250;
std::array<ThreadLocalPtr<FillObject>, numFillObjects> objects;