[PATCH] D148381: [WIP][Clang] Add counted_by attribute

Bill Wendling via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 21 18:55:18 PDT 2023


void updated this revision to Diff 552184.
void edited the summary of this revision.
void added a comment.

Make __builtin_dynamic_object_size use the __counted_by attribute to help determine the object size.


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/Basic/Attr.td
  clang/include/clang/Basic/AttrDocs.td
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/AST/ASTImporter.cpp
  clang/lib/AST/Decl.cpp
  clang/lib/AST/Expr.cpp
  clang/lib/CodeGen/BackendUtil.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/Misc/pragma-attribute-supported-attributes-list.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148381.552184.patch
Type: text/x-patch
Size: 24508 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230822/00790a06/attachment-0001.bin>


More information about the cfe-commits mailing list