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

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 2 04:35:44 PDT 2022


aaron.ballman added a comment.

FWIW, it looks like precommit CI found issues in the newly added test which should be addressed.



================
Comment at: clang/test/CodeGen/no-builtin-2.c:3
+
+#include <stddef.h>
+
----------------
You shouldn't include system headers -- that will pull from whatever is installed on the test system. If you included this for `size_t`, you can do something like: `typedef __typeof_(sizeof(0)) size_t;` to work around it.


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