[PATCH] D79121: Add nomerge function attribute to clang

Zequan Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 4 17:46:18 PDT 2020


zequanwu updated this revision to Diff 261973.
zequanwu marked 10 inline comments as done.
zequanwu added a comment.

To keep it simple, `nomerge` attribute should not be applied to decl statement. Since label statement calls `ProcessDeclAttributeList` to handle attributes, label statement should not have `nomerge` attribute.


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

https://reviews.llvm.org/D79121

Files:
  clang/include/clang/Basic/Attr.td
  clang/include/clang/Basic/AttrDocs.td
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/CodeGen/CGCall.cpp
  clang/lib/CodeGen/CGStmt.cpp
  clang/lib/CodeGen/CodeGenFunction.h
  clang/lib/Sema/SemaStmtAttr.cpp
  clang/test/CodeGen/attr-nomerge.cpp
  clang/test/Sema/attr-nomerge.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79121.261973.patch
Type: text/x-patch
Size: 7815 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200505/d862d0ca/attachment.bin>


More information about the cfe-commits mailing list