From: David Blaikie Date: Tue, 24 Oct 2017 21:29:17 +0000 (+0000) Subject: LaneBitmask.h: Don't mark header functions as file local X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=04614e095ba279810461302a6a665f7991f0e3be;p=llvm LaneBitmask.h: Don't mark header functions as file local git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316510 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/MC/LaneBitmask.h b/include/llvm/MC/LaneBitmask.h index 35f472d817a..a2bdcd4e69c 100644 --- a/include/llvm/MC/LaneBitmask.h +++ b/include/llvm/MC/LaneBitmask.h @@ -91,7 +91,7 @@ namespace llvm { }; /// Create Printable object to print LaneBitmasks on a \ref raw_ostream. - static LLVM_ATTRIBUTE_UNUSED Printable PrintLaneMask(LaneBitmask LaneMask) { + inline Printable PrintLaneMask(LaneBitmask LaneMask) { return Printable([LaneMask](raw_ostream &OS) { OS << format(LaneBitmask::FormatStr, LaneMask.getAsInteger()); });