[lld] r216402 - Use LLD naming style.
Rui Ueyama
ruiu at google.com
Mon Aug 25 12:38:57 PDT 2014
Author: ruiu
Date: Mon Aug 25 14:38:57 2014
New Revision: 216402
URL: http://llvm.org/viewvc/llvm-project?rev=216402&view=rev
Log:
Use LLD naming style.
Modified:
lld/trunk/lib/Driver/WinLinkDriver.cpp
Modified: lld/trunk/lib/Driver/WinLinkDriver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/WinLinkDriver.cpp?rev=216402&r1=216401&r2=216402&view=diff
==============================================================================
--- lld/trunk/lib/Driver/WinLinkDriver.cpp (original)
+++ lld/trunk/lib/Driver/WinLinkDriver.cpp Mon Aug 25 14:38:57 2014
@@ -496,11 +496,11 @@ static bool createManifestResourceFile(P
llvm::FileRemover rcFileRemover((Twine(rcFile)));
// Open the temporary file for writing.
- std::error_code EC;
- llvm::raw_fd_ostream out(rcFileSmallString, EC, llvm::sys::fs::F_Text);
- if (EC) {
+ std::error_code ec;
+ llvm::raw_fd_ostream out(rcFileSmallString, ec, llvm::sys::fs::F_Text);
+ if (ec) {
diag << "Failed to open " << ctx.getManifestOutputPath() << ": "
- << EC.message() << "\n";
+ << ec.message() << "\n";
return false;
}
@@ -570,10 +570,10 @@ static bool createSideBySideManifestFile
path.append(".manifest");
}
- std::error_code EC;
- llvm::raw_fd_ostream out(path, EC, llvm::sys::fs::F_Text);
- if (EC) {
- diag << EC.message() << "\n";
+ std::error_code ec;
+ llvm::raw_fd_ostream out(path, ec, llvm::sys::fs::F_Text);
+ if (ec) {
+ diag << ec.message() << "\n";
return false;
}
out << createManifestXml(ctx);
More information about the llvm-commits
mailing list