Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Try to fix ODR violation of ErrorInfo::ID | Reid Kleckner | 2016-03-24 | 1 | -3/+2 |
| | | | | | | This implements my suggestion to Lang. llvm-svn: 264360 | ||||
* | Define ErrorInfo::ID explicitly. | NAKAMURA Takumi | 2016-03-24 | 1 | -0/+3 |
| | | | | llvm-svn: 264293 | ||||
* | Error.cpp: Fix a warning. [-Wpedantic] | NAKAMURA Takumi | 2016-03-24 | 1 | -1/+1 |
| | | | | llvm-svn: 264291 | ||||
* | [Support] Make all Errors convertible to std::error_code. | Lang Hames | 2016-03-23 | 1 | -0/+45 |
This is a temporary crutch to enable code that currently uses std::error_code to be incrementally moved over to Error. Requiring all Error instances be convertible enables clients to call errorToErrorCode on any error (not just ECErrors created by conversion *from* an error_code). This patch also moves code for Error from ErrorHandling.cpp into a new Error.cpp file. llvm-svn: 264221 |