[all-commits] [llvm/llvm-project] e20931: [clang] Restrict Inline Builtin to non-static, non...
serge-sans-paille via All-commits
all-commits at lists.llvm.org
Mon May 29 01:02:39 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e20931b2ccd10de2fd25d9a6fbe9c166e7430f23
https://github.com/llvm/llvm-project/commit/e20931b2ccd10de2fd25d9a6fbe9c166e7430f23
Author: serge-sans-paille <sguelton at mozilla.com>
Date: 2023-05-29 (Mon, 29 May 2023)
Changed paths:
M clang/lib/AST/Decl.cpp
A clang/test/CodeGen/inline-builtin-comdat.c
Log Message:
-----------
[clang] Restrict Inline Builtin to non-static, non-odr linkage
Inline builtins have a very special behavior compared to other
functions, it's better if we keep them restricted to a minimal set of
functions.
Add a linkage check which prevents considering ODR definitions as inline
builtins.
Fix #62958
Differential Revision: https://reviews.llvm.org/D148723
More information about the All-commits
mailing list