[all-commits] [llvm/llvm-project] ae8002: [clang] Honor __attribute__((no_builtin("foo"))) o...

Stephen Long via All-commits all-commits at lists.llvm.org
Fri May 20 06:42:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ae80024fbe51339afabfa2ff43ae532356fa3c93
      https://github.com/llvm/llvm-project/commit/ae80024fbe51339afabfa2ff43ae532356fa3c93
  Author: Stephen Long <steplong at quicinc.com>
  Date:   2022-05-20 (Fri, 20 May 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/AttrDocs.td
    M clang/lib/CodeGen/CGExpr.cpp
    A clang/test/CodeGen/no-builtin-2.c

  Log Message:
  -----------
  [clang] Honor __attribute__((no_builtin("foo"))) on functions

Support for `__attribute__((no_builtin("foo")))` was added in https://reviews.llvm.org/D68028,
but builtins were still being used even when the attribute was placed on a function.

Reviewed By: hans

Differential Revision: https://reviews.llvm.org/D124701




More information about the All-commits mailing list