#pragma once
#include <folly/portability/Config.h>
#include <cstdint>
#include <string>
#if FOLLY_HAVE_LIBGFLAGS && __has_include(<gflags/gflags.h>)
#include <gflags/gflags.h>
#endif
#define FOLLY_GFLAGS_DECLARE_FALLBACK_(_type, _shortType, _name) …
#define FOLLY_GFLAGS_DEFINE_FALLBACK_( \
_type, _shortType, _name, _default, _description) …
#if FOLLY_HAVE_LIBGFLAGS && __has_include(<gflags/gflags.h>)
#define FOLLY_GFLAGS_DECLARE_bool(_name) …
#define FOLLY_GFLAGS_DECLARE_double(_name) …
#define FOLLY_GFLAGS_DECLARE_int32(_name) …
#define FOLLY_GFLAGS_DECLARE_int64(_name) …
#define FOLLY_GFLAGS_DECLARE_uint64(_name) …
#define FOLLY_GFLAGS_DECLARE_string(_name) …
#if defined(DECLARE_uint32)
#define FOLLY_GFLAGS_DECLARE_uint32(_name) …
#else
#define FOLLY_GFLAGS_DECLARE_uint32 …
#endif
#define FOLLY_GFLAGS_DEFINE_bool(_name, _default, _description) …
#define FOLLY_GFLAGS_DEFINE_double(_name, _default, _description) …
#define FOLLY_GFLAGS_DEFINE_int32(_name, _default, _description) …
#define FOLLY_GFLAGS_DEFINE_int64(_name, _default, _description) …
#define FOLLY_GFLAGS_DEFINE_uint64(_name, _default, _description) …
#define FOLLY_GFLAGS_DEFINE_string(_name, _default, _description) …
#if defined(DEFINE_uint32)
#define FOLLY_GFLAGS_DEFINE_uint32(_name, _default, _description) …
#else
#define FOLLY_GFLAGS_DEFINE_uint32 …
#endif
#else
#define FOLLY_GFLAGS_DECLARE_bool …
#define FOLLY_GFLAGS_DECLARE_double …
#define FOLLY_GFLAGS_DECLARE_int32 …
#define FOLLY_GFLAGS_DECLARE_int64 …
#define FOLLY_GFLAGS_DECLARE_uint32 …
#define FOLLY_GFLAGS_DECLARE_uint64 …
#define FOLLY_GFLAGS_DECLARE_string …
#define FOLLY_GFLAGS_DEFINE_bool …
#define FOLLY_GFLAGS_DEFINE_double …
#define FOLLY_GFLAGS_DEFINE_int32 …
#define FOLLY_GFLAGS_DEFINE_int64 …
#define FOLLY_GFLAGS_DEFINE_uint32 …
#define FOLLY_GFLAGS_DEFINE_uint64 …
#define FOLLY_GFLAGS_DEFINE_string …
#endif
#if FOLLY_UNUSUAL_GFLAGS_NAMESPACE
namespace FOLLY_GFLAGS_NAMESPACE {}
namespace gflags {
using namespace FOLLY_GFLAGS_NAMESPACE;
}
#endif
namespace folly {
#if FOLLY_HAVE_LIBGFLAGS && __has_include(<gflags/gflags.h>)
FlagSaver;
#else
namespace detail {
struct GflagsFlagSaver {};
}
using FlagSaver = detail::GflagsFlagSaver;
#endif
}