[PATCH] D156172: [clang][CodeGen] Emit annotations for function declarations.

Brendan Dahl via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 3 12:07:03 PDT 2023


brendandahl updated this revision to Diff 546966.
brendandahl added a comment.

Update deferred annotations whenever EmitGlobalDefinition is called
with a FunctionDecl and it has already been used or defined.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156172

Files:
  clang/lib/CodeGen/CodeGenModule.cpp
  clang/lib/CodeGen/CodeGenModule.h
  clang/test/CodeGen/annotations-decl-use-decl.c
  clang/test/CodeGen/annotations-decl-use-define.c
  clang/test/CodeGen/annotations-declaration.c
  clang/test/CodeGen/annotations-global.c
  clang/test/CodeGenCXX/attr-annotate-destructor.cpp
  clang/test/CodeGenCXX/attr-annotate.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156172.546966.patch
Type: text/x-patch
Size: 8738 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230803/3cb795c2/attachment.bin>


More information about the cfe-commits mailing list