[all-commits] [llvm/llvm-project] 3946de: [MSVC] Add support for pragma function

Stephen Long via All-commits all-commits at lists.llvm.org
Fri May 13 06:40:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3946de0456fcbcd3a6c9f0d09d16d46c7987e0d7
      https://github.com/llvm/llvm-project/commit/3946de0456fcbcd3a6c9f0d09d16d46c7987e0d7
  Author: Stephen Long <steplong at quicinc.com>
  Date:   2022-05-13 (Fri, 13 May 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Parse/Parser.h
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Parse/ParsePragma.cpp
    M clang/lib/Sema/SemaAttr.cpp
    M clang/lib/Sema/SemaDecl.cpp
    A clang/test/CodeGen/pragma-ms-function.c
    M clang/test/Preprocessor/pragma_microsoft.c
    M clang/test/Preprocessor/pragma_microsoft.cpp

  Log Message:
  -----------
  [MSVC] Add support for pragma function

MSVC pragma function tells the compiler to generate calls to functions in the pragma function list, instead of using the builtin. Needs https://reviews.llvm.org/D124701

https://docs.microsoft.com/en-us/cpp/preprocessor/function-c-cpp?view=msvc-170

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D124702




More information about the All-commits mailing list