Go to file
Oliver Stannard 07b43d39a8 [Assembler] Allow non-fatal errors after parsing
This adds reportError to MCContext, which can be used as an alternative to
reportFatalError when the assembler wants to try to continue processing the
rest of the file after the error is reported, so that all of the errors ina
file can be reported. It records the fact that an error was encountered, so we
can avoid emitting an object file if any errors occurred.

This patch doesn't add any uses of this function (a later patch will convert
most uses of reportFatalError to use it), but there is a small functional
change: we use the SourceManager to print the error message, even if we have a
null SMLoc. This means that we get a SourceManager-style message, with the file
and line information shown as <unknown>, rather than the "LLVM ERROR" style
used by report_fatal_error.

llvm-svn: 253327
2015-11-17 09:58:07 +00:00
clang [Sema] Remove unnecessary typecast of bool to int when passing arguments to diagnostics. NFC 2015-11-17 05:40:12 +00:00
clang-tools-extra modularize: add install rule 2015-11-17 05:09:18 +00:00
compiler-rt tsan: replace macro check with constant check 2015-11-16 15:55:38 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc integer: remove explicit casts from _MIN definitions 2015-10-06 19:12:12 +00:00
libcxx Implement P0007: Constant View: A proposal for a std::as_const helper function template. 2015-11-17 00:08:08 +00:00
libcxxabi Fix LIBCXXABI_HAS_NO_THREADS configuration. 2015-10-14 19:21:38 +00:00
libunwind Make it possible to use libunwind without heap. 2015-11-09 06:57:29 +00:00
lld Make ELF2 the default. 2015-11-17 07:19:44 +00:00
lldb Revert out Xcode hookup of r253317. 2015-11-17 07:56:42 +00:00
llgo debug: Update for debug info API change. 2015-11-05 22:04:20 +00:00
llvm [Assembler] Allow non-fatal errors after parsing 2015-11-17 09:58:07 +00:00
openmp Add newlines to debug TRACE messages in kmp_taskdeps.cpp 2015-11-16 22:53:38 +00:00
polly ScopInfo: Reset compute operations before starting compute out region 2015-11-13 16:56:13 +00:00