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

Hans Wennborg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 17 04:26:19 PDT 2022


hans added inline comments.


================
Comment at: clang/test/CodeGen/no-builtin-2.c:51
+// CHECK:   {{.*}}call {{.*}} @memmove
+void foo4(char *s, char *d, size_t n) __attribute__((no_builtin("*"))) {
+  bar(s);
----------------
In AttrDocs.td it says the wildcard case is spelled "__attribute__((no_builtin))".


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124701



More information about the cfe-commits mailing list