[llvm-commits] [llvm] r105395 - /llvm/trunk/tools/gold/gold-plugin.cpp
Nick Lewycky
nicholas at mxc.ca
Thu Jun 3 10:10:17 PDT 2010
Author: nicholas
Date: Thu Jun 3 12:10:17 2010
New Revision: 105395
URL: http://llvm.org/viewvc/llvm-project?rev=105395&view=rev
Log:
Whitespace cleanup.
Modified:
llvm/trunk/tools/gold/gold-plugin.cpp
Modified: llvm/trunk/tools/gold/gold-plugin.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/gold/gold-plugin.cpp?rev=105395&r1=105394&r2=105395&view=diff
==============================================================================
--- llvm/trunk/tools/gold/gold-plugin.cpp (original)
+++ llvm/trunk/tools/gold/gold-plugin.cpp Thu Jun 3 12:10:17 2010
@@ -62,9 +62,9 @@
static std::string bc_path;
static const char *as_path = NULL;
// Additional options to pass into the code generator.
- // Note: This array will contain all plugin options which are not claimed
+ // Note: This array will contain all plugin options which are not claimed
// as plugin exclusive to pass to the code generator.
- // For example, "generate-api-file" and "as"options are for the plugin
+ // For example, "generate-api-file" and "as"options are for the plugin
// use only and will not be passed.
static std::vector<std::string> extra;
@@ -82,7 +82,7 @@
} else {
as_path = strdup(opt + 3);
}
- } else if(llvm::StringRef(opt).startswith("also-emit-llvm=")) {
+ } else if (llvm::StringRef(opt).startswith("also-emit-llvm=")) {
const char *path = opt + strlen("also-emit-llvm=");
if (bc_path != "") {
(*message)(LDPL_WARNING, "Path to the output IL file specified twice. "
@@ -209,7 +209,7 @@
// an .a archive.
if (lseek(file->fd, file->offset, SEEK_SET) == -1) {
(*message)(LDPL_ERROR,
- "Failed to seek to archive member of %s at offset %d: %s\n",
+ "Failed to seek to archive member of %s at offset %d: %s\n",
file->name,
file->offset, sys::StrError(errno).c_str());
return LDPS_ERR;
@@ -217,7 +217,7 @@
buf = malloc(file->filesize);
if (!buf) {
(*message)(LDPL_ERROR,
- "Failed to allocate buffer for archive member of size: %d\n",
+ "Failed to allocate buffer for archive member of size: %d\n",
file->filesize);
return LDPS_ERR;
}
More information about the llvm-commits
mailing list