diff options
Diffstat (limited to 'llvm/tools/dsymutil/ErrorReporting.h')
| -rw-r--r-- | llvm/tools/dsymutil/ErrorReporting.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/llvm/tools/dsymutil/ErrorReporting.h b/llvm/tools/dsymutil/ErrorReporting.h deleted file mode 100644 index a22adc8ab44..00000000000 --- a/llvm/tools/dsymutil/ErrorReporting.h +++ /dev/null @@ -1,33 +0,0 @@ -//===- ErrorReporting.h - dsymutil error reporting -------------*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -#ifndef LLVM_TOOLS_DSYMUTIL_ERRORREPORTING_H -#define LLVM_TOOLS_DSYMUTIL_ERRORREPORTING_H -#include "llvm/Support/WithColor.h" -#include "llvm/Support/raw_ostream.h" - -namespace llvm { -namespace dsymutil { - -inline raw_ostream &error_ostream() { - return WithColor(errs(), HighlightColor::Error).get() << "error: "; -} - -inline raw_ostream &warn_ostream() { - return WithColor(errs(), HighlightColor::Warning).get() << "warning: "; -} - -inline raw_ostream ¬e_ostream() { - return WithColor(errs(), HighlightColor::Note).get() << "note: "; -} - -} // namespace dsymutil -} // end namespace llvm - -#endif // LLVM_TOOLS_DSYMUTIL_ERRORREPORTING_H |

