proxygen
CPortability.h File Reference

Go to the source code of this file.

Macros

#define __GNUC_PREREQ(maj, min)   0
 
#define __CLANG_PREREQ(maj, min)   0
 
#define FOLLY_HAS_BUILTIN(...)   0
 
#define FOLLY_HAS_FEATURE(...)   0
 
#define FOLLY_DISABLE_ADDRESS_SANITIZER
 
#define FOLLY_DISABLE_UNDEFINED_BEHAVIOR_SANITIZER(...)
 
#define FOLLY_EXPORT
 
#define FOLLY_NOINLINE
 
#define FOLLY_ALWAYS_INLINE   inline
 
#define FOLLY_ATTR_VISIBILITY_HIDDEN
 
#define FOLLY_ATTR_WEAK
 

Macro Definition Documentation

#define __CLANG_PREREQ (   maj,
  min 
)    0

Definition at line 46 of file CPortability.h.

#define __GNUC_PREREQ (   maj,
  min 
)    0

Portable version check.

Definition at line 34 of file CPortability.h.

#define FOLLY_ATTR_VISIBILITY_HIDDEN
#define FOLLY_ATTR_WEAK

Definition at line 167 of file CPortability.h.

Referenced by duration_to_ts().

#define FOLLY_DISABLE_ADDRESS_SANITIZER
#define FOLLY_DISABLE_UNDEFINED_BEHAVIOR_SANITIZER (   ...)

Define a convenience macro to test when ASAN, UBSAN or TSAN sanitizer are being used

Definition at line 120 of file CPortability.h.

#define FOLLY_EXPORT

Macro for marking functions as having public visibility.

Definition at line 133 of file CPortability.h.

Referenced by folly::fibers::FiberManager::add(), and folly::threadlocal_detail::StaticMetaBase::erase().

#define FOLLY_HAS_BUILTIN (   ...)    0

Definition at line 53 of file CPortability.h.

#define FOLLY_HAS_FEATURE (   ...)    0

Definition at line 59 of file CPortability.h.