From: Simon Pilgrim Date: Sat, 25 Jul 2020 10:35:47 +0000 (+0100) Subject: SymbolRemappingReader.h - pass Twine by reference not value. NFCI. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=18d481cdf9d0e4a8ac5ad05007f34c944327f3d8;p=platform%2Fupstream%2Fllvm.git SymbolRemappingReader.h - pass Twine by reference not value. NFCI. --- 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 {