[PATCH] D124702: [MSVC] Add support for pragma function

Stephen Long via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 11 07:19:28 PDT 2022


steplong updated this revision to Diff 428657.
steplong added a comment.

- Renamed `AddRangeBasedNoBuiltin` to `AddImplicitMSFunctionNoBuiltinAttr`
- Renamed `err_pragma_intrinsic_function_scope` to `err_pragma_expected_file_scope`
- Added comment about MSVC accepting struct test
- Removed `->getRedeclContext()`. Seems to be ok (i.e. tests are still passing)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124702

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/include/clang/Parse/Parser.h
  clang/include/clang/Sema/Sema.h
  clang/lib/Parse/ParsePragma.cpp
  clang/lib/Sema/SemaAttr.cpp
  clang/lib/Sema/SemaDecl.cpp
  clang/test/CodeGen/pragma-ms-function.c
  clang/test/Preprocessor/pragma_microsoft.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124702.428657.patch
Type: text/x-patch
Size: 11514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220511/efc31ecb/attachment.bin>


More information about the cfe-commits mailing list