[PATCH] D124701: [clang] Honor __attribute__((no_builtin("foo"))) on functions

Stephen Long via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 12 09:25:42 PDT 2022


steplong updated this revision to Diff 428970.
steplong edited the summary of this revision.
steplong added a comment.

- Added `isPredefinedLibFunction()` check
- Added testcase for __attribute__((no_builtin("*")))


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124701

Files:
  clang/lib/CodeGen/CGExpr.cpp
  clang/lib/Sema/SemaDeclAttr.cpp
  clang/test/CodeGen/no-builtin-2.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124701.428970.patch
Type: text/x-patch
Size: 4556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220512/97cce33f/attachment.bin>


More information about the cfe-commits mailing list