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

Stephen Long via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 10 07:37:48 PDT 2022


steplong updated this revision to Diff 428375.
steplong edited the summary of this revision.
steplong added a comment.

- Clang-formatted patch
- Split out the pragma intrinsic stuff
- Replaced SmallSetVector in pragma handler with SmallVector. MSNoBuiltins is still a SmallSetVector in Sema.
- Commented out if not file scope block in `ActOn..` method. Will investigate next
- Added pragma warnings test


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.428375.patch
Type: text/x-patch
Size: 11653 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220510/c95f1973/attachment.bin>


More information about the cfe-commits mailing list