]> granicus.if.org Git - llvm/commit
DenseMap.h:capacity_in_bytes Don't mark header functions as file-scope static
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 24 Oct 2017 17:29:11 +0000 (17:29 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 24 Oct 2017 17:29:11 +0000 (17:29 +0000)
commitb86addfb2351575fd39f21b619e4be2cbe136dc7
tree808d20d6318cf7ea01947be4d0f94fe337c91a30
parent91f89f7cb41c4b0a044c37164ccb22a0e90e8025
DenseMap.h:capacity_in_bytes 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@316471 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/DenseMap.h