SmallVector.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)
commitaedf1537c67b0fe0a496f1052829ca10c3e58d69
tree1060a61c421ef4a54dee5b5218c15ddff6681b6f
parent797ccba543bf9b8f77a807064086fcfc8b913ee2
SmallVector.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.

llvm-svn: 316472
llvm/include/llvm/ADT/SmallVector.h