[PATCH] D107026: [Clang] Add support for attribute 'escape'

Josh Learn via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 29 12:36:51 PDT 2021


guitard0g updated this revision to Diff 362849.
guitard0g marked an inline comment as done.
guitard0g added a comment.

Add tests for diagnostics of incorrect usage. Diagnose when escape and noescape are used on the same parameter.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107026

Files:
  clang/include/clang/Basic/Attr.td
  clang/include/clang/Basic/AttrDocs.td
  clang/lib/Sema/SemaDeclAttr.cpp
  clang/test/AST/ast-dump-attr.cpp
  clang/test/AST/ast-dump-attr.m
  clang/test/Misc/pragma-attribute-supported-attributes-list.test
  clang/test/SemaObjCXX/escape.mm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107026.362849.patch
Type: text/x-patch
Size: 7535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210729/79cf6707/attachment.bin>


More information about the cfe-commits mailing list