reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Support/WithColor.h
   85   static raw_ostream &error(raw_ostream &OS, StringRef Prefix = "",

References

lib/DebugInfo/DWARF/DWARFVerifier.cpp
 1484 raw_ostream &DWARFVerifier::error() const { return WithColor::error(OS); }
lib/Support/SourceMgr.cpp
  394       WithColor::error(OS, "", !ShowColors);
lib/Support/WithColor.cpp
   60 raw_ostream &WithColor::error() { return error(errs()); }
tools/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
  836     logAllUnhandledErrors(std::move(E), WithColor::error(errs(), argv[0]));
tools/clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp
  325     logAllUnhandledErrors(std::move(E), WithColor::error(errs(), argv[0]));
tools/llc/llc.cpp
  340     WithColor::error(errs(), argv[0]) << toString(std::move(E)) << '\n';
  347     WithColor::error(errs(), argv[0])
  371     WithColor::error(errs(), argv0)
  380     WithColor::error(errs(), argv0)
  411       Err.print(argv[0], WithColor::error(errs(), argv[0]));
  431     WithColor::error(errs(), argv[0]) << Error;
  440     WithColor::error(errs(), argv[0]) << "invalid optimization level.\n";
  485       WithColor::error(errs(), argv[0]) << EC.message() << '\n';
  513     WithColor::error(errs(), Prefix) << "input module is broken!\n";
tools/lli/lli.cpp
  336     WithColor::error(errs(), "lli") << "invalid optimization level.\n";
  439     WithColor::error(errs(), argv[0])
  455       WithColor::error(errs(), argv[0])
  458       WithColor::error(errs(), argv[0]) << "unknown error creating EE!\n";
  561     WithColor::error(errs(), argv[0])
  581       WithColor::error(errs(), argv[0])
  585       WithColor::error(errs(), argv[0])
  629         WithColor::error(errs(), argv[0])
  634     WithColor::error(errs(), argv[0]) << "exit defined with wrong prototype!\n";
  646       WithColor::error(errs(), argv[0]) << "failed to launch remote JIT.\n";
tools/llvm-ar/llvm-ar.cpp
  133     WithColor::error(errs(), ToolName)
  136     WithColor::error(errs(), ToolName) << Error << "\n";
  627     WithColor::error(errs(), ToolName) << "'" << Name << "' was not found\n";
tools/llvm-config/llvm-config.cpp
  585     WithColor::error(errs(), "llvm-config") << DyLibName << " is missing\n";
  618           WithColor::error(errs(), "llvm-config") << "missing: " << Lib << "\n";
  625         WithColor::error(errs(), "llvm-config")
  630           WithColor::error(errs(), "llvm-config") << "missing: " << Lib << "\n";
  713     WithColor::error(errs(), "llvm-config")
tools/llvm-cxxdump/llvm-cxxdump.cpp
   46   WithColor::error(outs(), "") << "reading file: " << EC.message() << ".\n";
   52   logAllUnhandledErrors(std::move(Err), WithColor::error(outs()),
   70   WithColor::error(errs(), Input) << Message << "\n";
tools/llvm-dis/llvm-dis.cpp
  130       case DS_Error: WithColor::error(OS); break;
tools/llvm-elfabi/ErrorCollector.cpp
   45     WithColor::error(OS) << "(" << Tags[i] << ") " << Errors[i];
tools/llvm-ifs/llvm-ifs.cpp
  361     WithColor::error(errs(), "llvm-ifs") << Msg << "\n";
tools/llvm-lipo/llvm-lipo.cpp
   34   WithColor::error(errs(), ToolName) << Message << "\n";
   45   WithColor::error(errs(), ToolName) << "'" << File << "': " << Buf;
tools/llvm-mc/llvm-mc.cpp
  203     WithColor::error(errs(), ProgName) << Error;
  290     WithColor::error(errs(), ProgName)
  336     WithColor::error(errs(), ProgName)
  362       WithColor::error(errs(), ProgName)
tools/llvm-mt/llvm-mt.cpp
   68   WithColor::error(errs(), "llvm-mt") << Msg << '\n';
tools/llvm-nm/llvm-nm.cpp
  226   WithColor::error(errs(), ToolName) << Path << ": " << Message << ".\n";
  243   WithColor::error(errs(), ToolName) << FileName;
  272   WithColor::error(errs(), ToolName) << FileName;
tools/llvm-objcopy/llvm-objcopy.cpp
   58   WithColor::error(errs(), ToolName) << Message << "\n";
   68   WithColor::error(errs(), ToolName) << Buf;
   83   WithColor::error(errs(), ToolName) << "'" << File << "': " << Buf;
  341                           WithColor::error(errs(), ToolName));
  346       logAllUnhandledErrors(std::move(E), WithColor::error(errs(), ToolName));
tools/llvm-objdump/COFFDump.cpp
  601     WithColor::error(errs(), "llvm-objdump")
tools/llvm-objdump/MachODump.cpp
  227   WithColor::error(errs(), "llvm-objdump") << "unable to get target for '";
 1900     WithColor::error(errs(), "llvm-objdump")
 2307         WithColor::error(errs(), "llvm-objdump")
 2371       WithColor::error(errs(), "llvm-objdump")
 2450         WithColor::error(errs(), "llvm-objdump")
 7249     WithColor::error(errs(), "llvm-objdump")
 7291     WithColor::error(errs(), "llvm-objdump")
 7384           WithColor::error(errs(), "llvm-objdump")
 7416         WithColor::error(errs(), "llvm-objdump")
tools/llvm-objdump/llvm-objdump.cpp
  417   WithColor::error(errs(), ToolName) << "'" << File << "': " << Message << "\n";
  425   WithColor::error(errs(), ToolName);
  445   WithColor::error(errs(), ToolName) << Message << "\n";
 1923     WithColor::error(errs(), ToolName)
 1932     WithColor::error(errs(), ToolName)
 1974     WithColor::error(errs(), ToolName)
 2046     WithColor::error(errs(), ToolName) << "ill-formed archive entry.\n";
tools/llvm-readobj/llvm-readobj.cpp
  370   WithColor::error(errs(), ToolName) << Msg << "\n";
tools/llvm-size/llvm-size.cpp
  112   WithColor::error(errs(), ToolName) << "'" << File << "': " << Message << "\n";
  121   WithColor::error(errs(), ToolName) << "'" << FileName << "'";
  149   WithColor::error(errs(), ToolName) << "'" << FileName << "'";
tools/yaml2obj/yaml2obj.cpp
   49     WithColor::error(errs(), "yaml2obj") << Msg << "\n";