llvm.org GIT mirror llvm / c25aec1
[llvm-rtdyld] Message() is used only once. Inline. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253736 91177308-0d34-0410-b5e6-96231b3b80d8 Davide Italiano 3 years ago
1 changed file(s) with 1 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
239239
240240 static const char *ProgramName;
241241
242 static void Message(const char *Type, const Twine &Msg) {
243 errs() << ProgramName << ": " << Type << ": " << Msg << "\n";
244 }
245
246242 static int Error(const Twine &Msg) {
247 Message("error", Msg);
243 errs() << ProgramName << ": error: " << Msg << "\n";
248244 return 1;
249245 }
250246