mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-10 02:25:47 +00:00
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:
@@ -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";
|
||||
|
@@ -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";
|
||||
|
Reference in New Issue
Block a user