From 18d481cdf9d0e4a8ac5ad05007f34c944327f3d8 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Sat, 25 Jul 2020 11:35:47 +0100 Subject: [PATCH] SymbolRemappingReader.h - pass Twine by reference not value. NFCI. --- llvm/include/llvm/Support/SymbolRemappingReader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/Support/SymbolRemappingReader.h b/llvm/include/llvm/Support/SymbolRemappingReader.h index 2b9ab57..820cf9e 100644 --- a/llvm/include/llvm/Support/SymbolRemappingReader.h +++ b/llvm/include/llvm/Support/SymbolRemappingReader.h @@ -68,7 +68,7 @@ namespace llvm { class SymbolRemappingParseError : public ErrorInfo { public: - SymbolRemappingParseError(StringRef File, int64_t Line, Twine Message) + SymbolRemappingParseError(StringRef File, int64_t Line, const Twine &Message) : File(File), Line(Line), Message(Message.str()) {} void log(llvm::raw_ostream &OS) const override { -- 2.7.4