OSDN Git Service

MemoryBuiltins.h: Don't mark header functions as file-scope static
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 24 Oct 2017 17:29:13 +0000 (17:29 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 24 Oct 2017 17:29:13 +0000 (17:29 +0000)
commit43e810a24d7cb395780017774a5c8494576a63c5
tree5ff9101d67721f180d218920defb87a834a1ceae
parent22591d6e66d0d664795a19a5a20066a4cb11df54
MemoryBuiltins.h: Don't mark header functions as file-scope static

This creates ODR violations if the function is called from another inline                                                                   function in a header and also creates binary bloat from duplicate definitions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316475 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/MemoryBuiltins.h