HomePhabricator

Add support for #pragma system_header with -fms-extensions

Authored by hans on Jun 23 2021, 1:35 AM.

Description

Add support for #pragma system_header with -fms-extensions

Clang already supports the pragma prefixed by "GCC" or "clang".

MSVC has more recently added support for the pragma, but without any prefix; see
https://devblogs.microsoft.com/cppblog/broken-warnings-theory/#external-headers

Differential revision: https://reviews.llvm.org/D104770

Details

Committed
hansJun 23 2021, 4:26 AM
Differential Revision
D104770: Add support for #pragma system_header with -fms-extensions
Parents
rG5af8bacc9402: [InstSimplify] Add more poison folding optimizations
Branches
Unknown
Tags
Unknown