From 45d70b71ec227698fa92e1d6fb2f29f77af4fb93 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 6 Feb 2015 21:25:30 -0800 Subject: [PATCH] Fix by @dixlorenz for clang warning about unknown Doxygen tags --- format.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/format.h b/format.h index a25d807c..30c53849 100644 --- a/format.h +++ b/format.h @@ -60,6 +60,10 @@ # define FMT_GCC_EXTENSION #endif +#ifdef __clang__ +# pragma clang diagnostic ignored "-Wdocumentation-unknown-command" +#endif + #ifdef __GNUC_LIBSTD__ # define FMT_GNUC_LIBSTD_VERSION (__GNUC_LIBSTD__ * 100 + __GNUC_LIBSTD_MINOR__) #endif @@ -2469,6 +2473,10 @@ FMT_VARIADIC(int, fprintf, std::FILE *, StringRef) # pragma GCC diagnostic pop #endif +#ifdef __clang__ +# pragma clang diagnostic pop +#endif + #ifdef FMT_HEADER_ONLY # include "format.cc" #endif