Tersified code:

* Removed space between function name and its argument list
* Removed space between '&' and variable name
* Removed empty comment lines: `//'


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8750 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman
2003-09-29 22:26:24 +00:00
parent a61b19b80a
commit e676313966
2 changed files with 66 additions and 78 deletions

View File

@@ -256,8 +256,7 @@ LoadObject (const std::string & FN, std::string &OutErrorMessage) {
// TRUE - An error occurred.
// FALSE - No errors.
//
static bool
LinkInArchive (Module *M,
static bool LinkInArchive(Module *M,
const std::string &Filename,
std::string &ErrorMessage,
bool Verbose)
@@ -354,8 +353,7 @@ LinkInArchive (Module *M,
// TRUE - An error occurred.
// FALSE - No errors.
//
static bool
LinkInFile (Module *HeadModule,
static bool LinkInFile(Module *HeadModule,
const std::string &Filename,
std::string &ErrorMessage,
bool Verbose)
@@ -363,7 +361,7 @@ LinkInFile (Module *HeadModule,
std::auto_ptr<Module> M(LoadObject(Filename, ErrorMessage));
if (M.get() == 0) return true;
if (Verbose) std::cerr << "Linking in '" << Filename << "'\n";
return (LinkModules (HeadModule, M.get(), &ErrorMessage));
return LinkModules(HeadModule, M.get(), &ErrorMessage);
}
//
@@ -422,10 +420,8 @@ bool LinkFiles(const char *progname,
}
}
//
// A user may specify an ar archive without -l, perhaps because it
// is not installed as a library. Detect that and link the library.
//
if (IsArchive(Pathname)) {
if (Verbose)
std::cerr << "Linking archive '" << Files[i] << "'\n";
@@ -495,10 +491,8 @@ bool LinkLibraries (const char *progname,
}
}
//
// A user may specify an ar archive without -l, perhaps because it
// is not installed as a library. Detect that and link the library.
//
if (IsArchive(Pathname)) {
if (Verbose)
std::cerr << "Linking archive '" << Libraries[i] << "'\n";

View File

@@ -256,8 +256,7 @@ LoadObject (const std::string & FN, std::string &OutErrorMessage) {
// TRUE - An error occurred.
// FALSE - No errors.
//
static bool
LinkInArchive (Module *M,
static bool LinkInArchive(Module *M,
const std::string &Filename,
std::string &ErrorMessage,
bool Verbose)
@@ -354,8 +353,7 @@ LinkInArchive (Module *M,
// TRUE - An error occurred.
// FALSE - No errors.
//
static bool
LinkInFile (Module *HeadModule,
static bool LinkInFile(Module *HeadModule,
const std::string &Filename,
std::string &ErrorMessage,
bool Verbose)
@@ -363,7 +361,7 @@ LinkInFile (Module *HeadModule,
std::auto_ptr<Module> M(LoadObject(Filename, ErrorMessage));
if (M.get() == 0) return true;
if (Verbose) std::cerr << "Linking in '" << Filename << "'\n";
return (LinkModules (HeadModule, M.get(), &ErrorMessage));
return LinkModules(HeadModule, M.get(), &ErrorMessage);
}
//
@@ -422,10 +420,8 @@ bool LinkFiles(const char *progname,
}
}
//
// A user may specify an ar archive without -l, perhaps because it
// is not installed as a library. Detect that and link the library.
//
if (IsArchive(Pathname)) {
if (Verbose)
std::cerr << "Linking archive '" << Files[i] << "'\n";
@@ -495,10 +491,8 @@ bool LinkLibraries (const char *progname,
}
}
//
// A user may specify an ar archive without -l, perhaps because it
// is not installed as a library. Detect that and link the library.
//
if (IsArchive(Pathname)) {
if (Verbose)
std::cerr << "Linking archive '" << Libraries[i] << "'\n";