[cfe-commits] [libcxx] r150964 - /libcxx/trunk/src/locale.cpp
Howard Hinnant
hhinnant at apple.com
Mon Feb 20 08:51:44 PST 2012
Author: hhinnant
Date: Mon Feb 20 10:51:43 2012
New Revision: 150964
URL: http://llvm.org/viewvc/llvm-project?rev=150964&view=rev
Log:
Silence -Wmissing-field-initializers a little higher in the source.
Modified:
libcxx/trunk/src/locale.cpp
Modified: libcxx/trunk/src/locale.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/src/locale.cpp?rev=150964&r1=150963&r2=150964&view=diff
==============================================================================
--- libcxx/trunk/src/locale.cpp (original)
+++ libcxx/trunk/src/locale.cpp Mon Feb 20 10:51:43 2012
@@ -4547,6 +4547,8 @@
freelocale(__loc_);
}
+#pragma clang diagnostic ignored "-Wmissing-field-initializers"
+
template <>
string
__time_get_storage<char>::__analyze(char fmt, const ctype<char>& ct)
@@ -4692,7 +4694,6 @@
}
#pragma clang diagnostic ignored "-Wmissing-braces"
-#pragma clang diagnostic ignored "-Wmissing-field-initializers"
template <>
wstring
More information about the cfe-commits
mailing list