[libcxx-commits] [PATCH] D119295: [libc++] Guard warning pragmas

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Feb 9 10:08:43 PST 2022


philnik added a comment.

In D119295#3307933 <https://reviews.llvm.org/D119295#3307933>, @ldionne wrote:

> Can you describe the difference in output?

This suppresses `-Wunknown-pragma`. GCC doesn't know `#pragma clang *`. This way we also don't have to have `push` and `pop` warning macros for every compiler we support everywhere.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119295



More information about the libcxx-commits mailing list