[ELF] - An attemp to fix builld bit after r368260
commitcccb7da612fcfddea4778c1c421899344d673ef1
authorGeorge Rimar <grimar@accesssoftek.com>
Thu, 8 Aug 2019 07:29:07 +0000 (8 07:29 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Thu, 8 Aug 2019 07:29:07 +0000 (8 07:29 +0000)
treefebdfd1b4be3c10b38a258262799c816b891e17e
parentc5899d0ed496489a55fbe255c0f9143489d42f31
[ELF] - An attemp to fix builld bit after r368260

BB: http://lab.llvm.org:8011/builders/lld-perf-testsuite/builds/17577/steps/build-bin%2Flld/logs/stdio

The error is:
/home/buildslave/slave_as-bldslv8/lld-perf-testsuite/llvm/include/llvm/Object/ELF.h:67:14:
error: 'static' function 'defaultWarningHandler' declared in header file should be declared 'static inline' [-Werror,-Wunneeded-internal-declaration]
static Error defaultWarningHandler(const Twine &Msg) { return createError(Msg); }
             ^

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368262 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/ELF.h