[libcxx-commits] [PATCH] D119134: [libcxx] Silence -Wformat-nonliteral warnings in the Windows support code

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Feb 9 10:16:21 PST 2022


Mordante added inline comments.


================
Comment at: libcxx/src/support/win32/locale_win32.cpp:100
     __libcpp_locale_guard __current(loc);
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wformat-nonliteral"
----------------
I just noticed D119295 so maybe use the macros added there before landing. (Assuming that patch will be accepted.)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119134/new/

https://reviews.llvm.org/D119134



More information about the libcxx-commits mailing list