[all-commits] [llvm/llvm-project] 774388: [MS compat] Handle #pragma fenv_access like #pragm...

Hans via All-commits all-commits at lists.llvm.org
Mon Oct 11 08:07:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 774388241e25529308c8bbac6012a20b62b82f29
      https://github.com/llvm/llvm-project/commit/774388241e25529308c8bbac6012a20b62b82f29
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2021-10-11 (Mon, 11 Oct 2021)

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

  Log Message:
  -----------
  [MS compat] Handle #pragma fenv_access like #pragma STDC FENV_ACCESS (PR50694)

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

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




More information about the All-commits mailing list