[lld] r216402 - Use LLD naming style.
Rafael Avila de Espindola
rafael.espindola at gmail.com
Mon Aug 25 17:15:09 PDT 2014
Oops. Sorry about that.
Sent from my iPhone
> On Aug 25, 2014, at 15:38, Rui Ueyama <ruiu at google.com> wrote:
>
> 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);
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list