Support/MemoryBuffer: Replace all uses of std::string *ErrMsg with error_code &ec. And fix clients.
llvm-svn: 121379
This commit is contained in:
@@ -96,6 +96,15 @@ system_category() {
|
||||
return s;
|
||||
}
|
||||
|
||||
const error_category&
|
||||
posix_category() {
|
||||
#ifdef LLVM_ON_WIN32
|
||||
return generic_category();
|
||||
#else
|
||||
return system_category();
|
||||
#endif
|
||||
}
|
||||
|
||||
// error_condition
|
||||
|
||||
std::string
|
||||
|
||||
Reference in New Issue
Block a user