[PATCH] D73495: [CodeGen] Attach no-builtin attributes to function definitions with no Decl

Guillaume Chatelet via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 28 14:34:44 PST 2020


gchatelet added a comment.

Thx for the fix @thegameg



================
Comment at: clang/lib/CodeGen/CGCall.cpp:1845
+
+  // First, handle the language options passed through -fno-builtin[-<name>]
+  if (LangOpts.NoBuiltin) {
----------------
Can you remove the trailing `[-<name>]`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73495





More information about the cfe-commits mailing list