[PATCH] D111440: [MS compat] Handle #pragma fenv_access like #pragma STDC FENV_ACCESS (PR50694)

Hans Wennborg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 8 09:45:44 PDT 2021


hans created this revision.
hans added reviewers: thakis, rsmith.
Herald added a subscriber: dexonsmith.
hans requested review of this revision.
Herald added a project: clang.

This adds support for the MSVC spelling of the pragma in -fms-extensions mode.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D111440

Files:
  clang/include/clang/Basic/DiagnosticParseKinds.td
  clang/include/clang/Basic/TokenKinds.def
  clang/include/clang/Parse/Parser.h
  clang/lib/Parse/ParsePragma.cpp
  clang/lib/Parse/ParseStmt.cpp
  clang/lib/Parse/Parser.cpp
  clang/test/CodeGen/pragma-fenv_access.c
  clang/test/Parser/pragma-fenv_access-ms.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111440.378278.patch
Type: text/x-patch
Size: 9159 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211008/36d2b97f/attachment.bin>


More information about the cfe-commits mailing list