mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
Don't use 'using std::error_code' in include/llvm.
This should make sure that most new uses use the std prefix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210835 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -68,7 +68,7 @@ StringRef llvm::DOT::getColorString(unsigned ColorNumber) {
|
||||
std::string llvm::createGraphFilename(const Twine &Name, int &FD) {
|
||||
FD = -1;
|
||||
SmallString<128> Filename;
|
||||
error_code EC = sys::fs::createTemporaryFile(Name, "dot", FD, Filename);
|
||||
std::error_code EC = sys::fs::createTemporaryFile(Name, "dot", FD, Filename);
|
||||
if (EC) {
|
||||
errs() << "Error: " << EC.message() << "\n";
|
||||
return "";
|
||||
|
||||
Reference in New Issue
Block a user