Fix by @dixlorenz for clang warning about unknown Doxygen tags

This commit is contained in:
Victor Zverovich 2015-02-06 21:25:30 -08:00
parent d930f6956f
commit 45d70b71ec

View File

@ -60,6 +60,10 @@
# define FMT_GCC_EXTENSION # define FMT_GCC_EXTENSION
#endif #endif
#ifdef __clang__
# pragma clang diagnostic ignored "-Wdocumentation-unknown-command"
#endif
#ifdef __GNUC_LIBSTD__ #ifdef __GNUC_LIBSTD__
# define FMT_GNUC_LIBSTD_VERSION (__GNUC_LIBSTD__ * 100 + __GNUC_LIBSTD_MINOR__) # define FMT_GNUC_LIBSTD_VERSION (__GNUC_LIBSTD__ * 100 + __GNUC_LIBSTD_MINOR__)
#endif #endif
@ -2469,6 +2473,10 @@ FMT_VARIADIC(int, fprintf, std::FILE *, StringRef)
# pragma GCC diagnostic pop # pragma GCC diagnostic pop
#endif #endif
#ifdef __clang__
# pragma clang diagnostic pop
#endif
#ifdef FMT_HEADER_ONLY #ifdef FMT_HEADER_ONLY
# include "format.cc" # include "format.cc"
#endif #endif