Go to file
Alexandre Ganea e11f221786 [Error] Add FileError helper; upgrade StringError behavior
FileError is meant to encapsulate both an Error and a file name/path. It should be used in cases where an Error occurs deep down the call chain, and we want to return it to the caller along with the file name.

StringError was updated to display the error messages in different ways. These can be:

1. display the error_code message, and convert to the same error_code (ECError behavior)
2. display an arbitrary string, and convert to a provided error_code (current StringError behavior)
3. display both an error_code message and a string, in this order; and convert to the same error_code

These behaviors can be triggered depending on the constructor. The goal is to use StringError as a base class, when a library needs to provide a explicit Error type.

Differential Revision: https://reviews.llvm.org/D50807

llvm-svn: 341064
2018-08-30 13:10:42 +00:00
clang [CodeComplete] Report location of opening parens for signature help 2018-08-30 13:08:03 +00:00
clang-tools-extra [clang-tidy] Use simple string matching instead of Regex 2018-08-30 12:42:19 +00:00
compiler-rt [Xray] Darwin improving slightly the support 2018-08-30 05:55:27 +00:00
debuginfo-tests Revert "(Retry) Add a basic integration test for C++ smart pointers" 2018-08-20 19:53:33 +00:00
libclc amdgcn: Use __constant AS for amdgcn builtins. 2018-08-03 15:14:08 +00:00
libcxx Last week, someone noted that a couple of the time_point member functions were not constexpr. I looked, and they were right. They were made constexpr in p0505, so I looked at all the other bits in that paper to make sure that I didn't miss anything else. There were a couple methods in the synopsis that should have been marked constexpr, but the code was correct. 2018-08-29 23:02:15 +00:00
libcxxabi Port my recent changes from LLVM copy of the demangler: 2018-08-24 23:30:26 +00:00
libunwind NFC: Test commit access 2018-08-16 16:55:07 +00:00
lld [COFF] Skip exporting artificial symbols when exporting all symbols 2018-08-30 05:44:41 +00:00
lldb Provide a default implementation of TypeSystem::GetNumTemplateArguments 2018-08-30 00:37:23 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm [Error] Add FileError helper; upgrade StringError behavior 2018-08-30 13:10:42 +00:00
openmp [OPENMP][NVPTX] Replace assert() by ASSERT0() macro, NFC. 2018-08-29 19:22:06 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly [IR] Replace `isa<TerminatorInst>` with `isTerminator()`. 2018-08-26 09:51:22 +00:00
README.md

README.md

Low Level Virtual Machine (LLVM)

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.