[PATCH] D79121: Add nomerge function attribute to clang

Zequan Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 8 11:48:27 PDT 2020


zequanwu updated this revision to Diff 262922.
zequanwu added a comment.

use `ConstStmtVisitor` to do recursive lookup for call expression.


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.262922.patch
Type: text/x-patch
Size: 8178 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200508/e4fc3ba0/attachment-0001.bin>


More information about the cfe-commits mailing list