mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +00:00
Fix some comments referring to std::cerr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77931 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -118,12 +118,12 @@ public:
|
|||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
inline void dump() {
|
inline void dump() {
|
||||||
std::cerr << "Node: " << this << "\n"
|
llvm::cerr << "Node: " << this << "\n"
|
||||||
<< "Label: " << Label << "\n"
|
<< "Label: " << Label << "\n"
|
||||||
<< "Children:\n";
|
<< "Children:\n";
|
||||||
|
|
||||||
for (iterator I = Children.begin(), E = Children.end(); I != E; ++I)
|
for (iterator I = Children.begin(), E = Children.end(); I != E; ++I)
|
||||||
std::cerr << (*I)->Label << "\n";
|
llvm::cerr << (*I)->Label << "\n";
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -402,7 +402,7 @@ public:
|
|||||||
///
|
///
|
||||||
void print(const MachineFunction &MF, std::ostream &OS) const;
|
void print(const MachineFunction &MF, std::ostream &OS) const;
|
||||||
|
|
||||||
/// dump - Call print(MF, std::cerr) to be called from the debugger.
|
/// dump - Print the function to stderr.
|
||||||
void dump(const MachineFunction &MF) const;
|
void dump(const MachineFunction &MF) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ public:
|
|||||||
void print(std::ostream &OS) const;
|
void print(std::ostream &OS) const;
|
||||||
void print(std::ostream *OS) const { if (OS) print(*OS); }
|
void print(std::ostream *OS) const { if (OS) print(*OS); }
|
||||||
|
|
||||||
/// dump - Call print(std::cerr) to be called from the debugger.
|
/// dump - Call to stderr.
|
||||||
///
|
///
|
||||||
void dump() const;
|
void dump() const;
|
||||||
};
|
};
|
||||||
|
@ -35,7 +35,7 @@ namespace llvm {
|
|||||||
FunctionPass *createUnreachableBlockEliminationPass();
|
FunctionPass *createUnreachableBlockEliminationPass();
|
||||||
|
|
||||||
/// MachineFunctionPrinter pass - This pass prints out the machine function to
|
/// MachineFunctionPrinter pass - This pass prints out the machine function to
|
||||||
/// standard error, as a debugging tool.
|
/// the given stream, as a debugging tool.
|
||||||
FunctionPass *createMachineFunctionPrinterPass(std::ostream *OS,
|
FunctionPass *createMachineFunctionPrinterPass(std::ostream *OS,
|
||||||
const std::string &Banner ="");
|
const std::string &Banner ="");
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ class LLVMContext;
|
|||||||
/// The Linker can link Modules from memory, bitcode files, or bitcode
|
/// The Linker can link Modules from memory, bitcode files, or bitcode
|
||||||
/// archives. It retains a set of search paths in which to find any libraries
|
/// archives. It retains a set of search paths in which to find any libraries
|
||||||
/// presented to it. By default, the linker will generate error and warning
|
/// presented to it. By default, the linker will generate error and warning
|
||||||
/// messages to std::cerr but this capability can be turned off with the
|
/// messages to stderr but this capability can be turned off with the
|
||||||
/// QuietWarnings and QuietErrors flags. It can also be instructed to verbosely
|
/// QuietWarnings and QuietErrors flags. It can also be instructed to verbosely
|
||||||
/// print out the linking actions it is taking with the Verbose flag.
|
/// print out the linking actions it is taking with the Verbose flag.
|
||||||
/// @brief The LLVM Linker.
|
/// @brief The LLVM Linker.
|
||||||
@ -52,9 +52,9 @@ class Linker {
|
|||||||
/// This enumeration is used to control various optional features of the
|
/// This enumeration is used to control various optional features of the
|
||||||
/// linker.
|
/// linker.
|
||||||
enum ControlFlags {
|
enum ControlFlags {
|
||||||
Verbose = 1, ///< Print to std::cerr what steps the linker is taking
|
Verbose = 1, ///< Print to stderr what steps the linker is taking
|
||||||
QuietWarnings = 2, ///< Don't print warnings to std::cerr.
|
QuietWarnings = 2, ///< Don't print warnings to stderr.
|
||||||
QuietErrors = 4 ///< Don't print errors to std::cerr.
|
QuietErrors = 4 ///< Don't print errors to stderr.
|
||||||
};
|
};
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
@ -114,7 +114,7 @@ class Linker {
|
|||||||
/// true, indicating an error occurred. At most one error is retained so
|
/// true, indicating an error occurred. At most one error is retained so
|
||||||
/// this function always returns the last error that occurred. Note that if
|
/// this function always returns the last error that occurred. Note that if
|
||||||
/// the Quiet control flag is not set, the error string will have already
|
/// the Quiet control flag is not set, the error string will have already
|
||||||
/// been printed to std::cerr.
|
/// been printed to stderr.
|
||||||
/// @brief Get the text of the last error that occurred.
|
/// @brief Get the text of the last error that occurred.
|
||||||
const std::string &getLastError() const { return Error; }
|
const std::string &getLastError() const { return Error; }
|
||||||
|
|
||||||
|
@ -106,7 +106,7 @@ public:
|
|||||||
///
|
///
|
||||||
virtual void print(std::ostream &O, const Module *M) const;
|
virtual void print(std::ostream &O, const Module *M) const;
|
||||||
void print(std::ostream *O, const Module *M) const { if (O) print(*O, M); }
|
void print(std::ostream *O, const Module *M) const { if (O) print(*O, M); }
|
||||||
void dump() const; // dump - call print(std::cerr, 0);
|
void dump() const; // dump - Print to stderr.
|
||||||
|
|
||||||
/// Each pass is responsible for assigning a pass manager to itself.
|
/// Each pass is responsible for assigning a pass manager to itself.
|
||||||
/// PMS is the stack of available pass manager.
|
/// PMS is the stack of available pass manager.
|
||||||
|
@ -1366,7 +1366,7 @@ struct aliasopt {
|
|||||||
|
|
||||||
// extrahelp - provide additional help at the end of the normal help
|
// extrahelp - provide additional help at the end of the normal help
|
||||||
// output. All occurrences of cl::extrahelp will be accumulated and
|
// output. All occurrences of cl::extrahelp will be accumulated and
|
||||||
// printed to std::cerr at the end of the regular help, just before
|
// printed to stderr at the end of the regular help, just before
|
||||||
// exit is called.
|
// exit is called.
|
||||||
struct extrahelp {
|
struct extrahelp {
|
||||||
const char * morehelp;
|
const char * morehelp;
|
||||||
|
@ -62,8 +62,8 @@ namespace {
|
|||||||
char Printer::ID = 0;
|
char Printer::ID = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a newly-created MachineFunction Printer pass. The default output
|
/// Returns a newly-created MachineFunction Printer pass. The default banner is
|
||||||
/// stream is std::cerr; the default banner is empty.
|
/// empty.
|
||||||
///
|
///
|
||||||
FunctionPass *llvm::createMachineFunctionPrinterPass(std::ostream *OS,
|
FunctionPass *llvm::createMachineFunctionPrinterPass(std::ostream *OS,
|
||||||
const std::string &Banner){
|
const std::string &Banner){
|
||||||
|
Reference in New Issue
Block a user