Skip to content

Commit

Permalink
SymbolRemappingReader.h - pass Twine by reference not value. NFCI.
Browse files Browse the repository at this point in the history
  • Loading branch information
RKSimon committed Jul 25, 2020
1 parent 3c1476d commit 18d481c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/include/llvm/Support/SymbolRemappingReader.h
Expand Up @@ -68,7 +68,7 @@ namespace llvm {

class SymbolRemappingParseError : public ErrorInfo<SymbolRemappingParseError> {
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 {
Expand Down

0 comments on commit 18d481c

Please sign in to comment.