[PATCH] D148381: [Clang] Add counted_by attribute

Bill Wendling via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 8 15:20:49 PDT 2023


void updated this revision to Diff 556310.
void added a comment.

- Expand test to show the unsanitized version,
- Unify the ways of finding a specific field based on a predicate,
- Make sure we're using the correct types in a couple of key places.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148381

Files:
  clang/include/clang/AST/Decl.h
  clang/include/clang/AST/DeclBase.h
  clang/include/clang/Basic/Attr.td
  clang/include/clang/Basic/AttrDocs.td
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/AST/ASTImporter.cpp
  clang/lib/AST/DeclBase.cpp
  clang/lib/AST/Expr.cpp
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/lib/CodeGen/CGExpr.cpp
  clang/lib/CodeGen/CodeGenFunction.h
  clang/lib/Sema/SemaDecl.cpp
  clang/lib/Sema/SemaDeclAttr.cpp
  clang/test/CodeGen/attr-counted-by.c
  clang/test/Misc/pragma-attribute-supported-attributes-list.test
  clang/test/Misc/warning-flags.c
  clang/test/Sema/attr-counted-by.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148381.556310.patch
Type: text/x-patch
Size: 34969 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230908/df438d32/attachment-0001.bin>


More information about the cfe-commits mailing list