OSDN Git Service

BitVector.h:capacity_in_bytes Don't mark header functions as file-scope static
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 24 Oct 2017 17:29:08 +0000 (17:29 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 24 Oct 2017 17:29:08 +0000 (17:29 +0000)
commit91f89f7cb41c4b0a044c37164ccb22a0e90e8025
tree758b3d6732c691506a1d34e71e94d3045f6cf9dc
parent51d6fa246d21073dbc4982ee09ea8ac8d95ba227
BitVector.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@316470 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/BitVector.h