mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
Fixed spelling & grammar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8559 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e78760e179
commit
950971dfe6
@ -330,7 +330,7 @@ void cl::ParseCommandLineOptions(int &argc, char **argv,
|
|||||||
|
|
||||||
if (*ArgName == 0 && !DashDashFound) { // Is this the mythical "--"?
|
if (*ArgName == 0 && !DashDashFound) { // Is this the mythical "--"?
|
||||||
DashDashFound = true; // Yup, take note of that fact...
|
DashDashFound = true; // Yup, take note of that fact...
|
||||||
continue; // Don't try to process it as an argument iself.
|
continue; // Don't try to process it as an argument itself.
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *ArgNameEnd = ArgName;
|
const char *ArgNameEnd = ArgName;
|
||||||
|
@ -85,7 +85,7 @@ std::string getUniqueFilename(const std::string &FilenameBase) {
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
// We don't need to hold the temp file descriptor... we will trust that noone
|
// We don't need to hold the temp file descriptor... we will trust that no one
|
||||||
// will overwrite/delete the file while we are working on it...
|
// will overwrite/delete the file while we are working on it...
|
||||||
close(TempFD);
|
close(TempFD);
|
||||||
std::string Result(FNBuffer);
|
std::string Result(FNBuffer);
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//===- Signals.cpp - Signal Handling support ------------------------------===//
|
//===- Signals.cpp - Signal Handling support ------------------------------===//
|
||||||
//
|
//
|
||||||
// This file defines some helpful functions for dealing with the possibility of
|
// This file defines some helpful functions for dealing with the possibility of
|
||||||
// unix signals occuring while your program is running.
|
// Unix signals occuring while your program is running.
|
||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@ static void RedirectFD(const std::string &File, int FD) {
|
|||||||
|
|
||||||
/// RunProgramWithTimeout - This function executes the specified program, with
|
/// RunProgramWithTimeout - This function executes the specified program, with
|
||||||
/// the specified null-terminated argument array, with the stdin/out/err fd's
|
/// the specified null-terminated argument array, with the stdin/out/err fd's
|
||||||
/// redirected, with a timeout specified on the commandline. This terminates
|
/// redirected, with a timeout specified on the command line. This terminates
|
||||||
/// the calling program if there is an error executing the specified program.
|
/// the calling program if there is an error executing the specified program.
|
||||||
/// It returns the return value of the program, or -1 if a timeout is detected.
|
/// It returns the return value of the program, or -1 if a timeout is detected.
|
||||||
///
|
///
|
||||||
|
@ -330,7 +330,7 @@ void cl::ParseCommandLineOptions(int &argc, char **argv,
|
|||||||
|
|
||||||
if (*ArgName == 0 && !DashDashFound) { // Is this the mythical "--"?
|
if (*ArgName == 0 && !DashDashFound) { // Is this the mythical "--"?
|
||||||
DashDashFound = true; // Yup, take note of that fact...
|
DashDashFound = true; // Yup, take note of that fact...
|
||||||
continue; // Don't try to process it as an argument iself.
|
continue; // Don't try to process it as an argument itself.
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *ArgNameEnd = ArgName;
|
const char *ArgNameEnd = ArgName;
|
||||||
|
@ -85,7 +85,7 @@ std::string getUniqueFilename(const std::string &FilenameBase) {
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
// We don't need to hold the temp file descriptor... we will trust that noone
|
// We don't need to hold the temp file descriptor... we will trust that no one
|
||||||
// will overwrite/delete the file while we are working on it...
|
// will overwrite/delete the file while we are working on it...
|
||||||
close(TempFD);
|
close(TempFD);
|
||||||
std::string Result(FNBuffer);
|
std::string Result(FNBuffer);
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//===- Signals.cpp - Signal Handling support ------------------------------===//
|
//===- Signals.cpp - Signal Handling support ------------------------------===//
|
||||||
//
|
//
|
||||||
// This file defines some helpful functions for dealing with the possibility of
|
// This file defines some helpful functions for dealing with the possibility of
|
||||||
// unix signals occuring while your program is running.
|
// Unix signals occuring while your program is running.
|
||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@ static void RedirectFD(const std::string &File, int FD) {
|
|||||||
|
|
||||||
/// RunProgramWithTimeout - This function executes the specified program, with
|
/// RunProgramWithTimeout - This function executes the specified program, with
|
||||||
/// the specified null-terminated argument array, with the stdin/out/err fd's
|
/// the specified null-terminated argument array, with the stdin/out/err fd's
|
||||||
/// redirected, with a timeout specified on the commandline. This terminates
|
/// redirected, with a timeout specified on the command line. This terminates
|
||||||
/// the calling program if there is an error executing the specified program.
|
/// the calling program if there is an error executing the specified program.
|
||||||
/// It returns the return value of the program, or -1 if a timeout is detected.
|
/// It returns the return value of the program, or -1 if a timeout is detected.
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user