[all-commits] [llvm/llvm-project] bd3799: Refine the constraint for isInlineBuiltinDeclaration
serge-sans-paille via All-commits
all-commits at lists.llvm.org
Tue Sep 28 07:07:52 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bd379915de38a9af3d65e19075a6a64ebbb8d6db
https://github.com/llvm/llvm-project/commit/bd379915de38a9af3d65e19075a6a64ebbb8d6db
Author: serge-sans-paille <sguelton at redhat.com>
Date: 2021-09-28 (Tue, 28 Sep 2021)
Changed paths:
M clang/lib/AST/Decl.cpp
M clang/test/CodeGen/memcpy-nobuiltin.inc
Log Message:
-----------
Refine the constraint for isInlineBuiltinDeclaration
Require it to be always_inline, to more closely match how _FORITFY_SOURCE
behaves.
This avoids generation of `.inline` suffixed functions - these should always be
inlined.
More information about the All-commits
mailing list