OSDN Git Service

StringExtras.h Don't mark header functions as file-scope static
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 24 Oct 2017 17:29:12 +0000 (17:29 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 24 Oct 2017 17:29:12 +0000 (17:29 +0000)
commit89d65d4655d9d6b8cb07cbc8b1f99bae8d74c2dc
tree6e44128e4c272257006a008f3567320a031361d8
parent124aa38d31b7dfd2e8a80311d0db782ebcf29cc6
StringExtras.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@316473 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/StringExtras.h