[PATCH] D79121: Add nomerge function attribute to clang

Zequan Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun May 3 09:33:27 PDT 2020


zequanwu updated this revision to Diff 261698.
zequanwu marked 4 inline comments as done.
zequanwu added a comment.

Add Sema test.
Check if nomerge attribute has no arguments and statement contains call expressions.


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.261698.patch
Type: text/x-patch
Size: 6643 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200503/4fa8232e/attachment.bin>


More information about the cfe-commits mailing list