mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
f01e53a482
immediately on every output error. Instead, add a flag to raw_ostream, and set the flag whenever an error is detected. The flag can be queried and cleared from the public API. This gives applications more flexibility to handling errors in application-specific ways. If the flag is not cleared when the raw_ostream is destructed, llvm_report_error is called from the destructor. This ensures that errors are not implicitly silenced, and provides convenient default behavior for tools like llc and opt. Clients wishing to avoid llvm_report_error calls from raw_ostream should check for errors and clear the error flag. llvm-svn: 75857 |
||
---|---|---|
.. | ||
Allocator.cpp | ||
Annotation.cpp | ||
APFloat.cpp | ||
APInt.cpp | ||
APSInt.cpp | ||
CMakeLists.txt | ||
CommandLine.cpp | ||
ConstantRange.cpp | ||
Debug.cpp | ||
Dwarf.cpp | ||
ErrorHandling.cpp | ||
FileUtilities.cpp | ||
FoldingSet.cpp | ||
FormattedStream.cpp | ||
GraphWriter.cpp | ||
IsInf.cpp | ||
IsNAN.cpp | ||
Makefile | ||
ManagedStatic.cpp | ||
MemoryBuffer.cpp | ||
PluginLoader.cpp | ||
PrettyStackTrace.cpp | ||
raw_ostream.cpp | ||
SlowOperationInformer.cpp | ||
SmallPtrSet.cpp | ||
SourceMgr.cpp | ||
Statistic.cpp | ||
Streams.cpp | ||
StringExtras.cpp | ||
StringMap.cpp | ||
StringPool.cpp | ||
SystemUtils.cpp | ||
TargetRegistry.cpp | ||
Timer.cpp | ||
Triple.cpp |