diff options
author | Owen Anderson <resistor@mac.com> | 2008-08-21 00:14:44 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-08-21 00:14:44 +0000 |
commit | 9371964f47abf0a0397a26e86c3c95f46c4f1fba (patch) | |
tree | bd7af9bf77ff2ede44084c4ac4f6fb39c14dc32c /llvm/lib/Target/CppBackend/CPPTargetMachine.h | |
parent | 873f65afe8f8e959ece92ca216d80ddbdd04c94a (diff) | |
download | bcm5719-llvm-9371964f47abf0a0397a26e86c3c95f46c4f1fba.tar.gz bcm5719-llvm-9371964f47abf0a0397a26e86c3c95f46c4f1fba.zip |
Use raw_ostream throughout the AsmPrinter.
llvm-svn: 55092
Diffstat (limited to 'llvm/lib/Target/CppBackend/CPPTargetMachine.h')
-rw-r--r-- | llvm/lib/Target/CppBackend/CPPTargetMachine.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Target/CppBackend/CPPTargetMachine.h b/llvm/lib/Target/CppBackend/CPPTargetMachine.h index 4170cdf4e4f..db17c17826b 100644 --- a/llvm/lib/Target/CppBackend/CPPTargetMachine.h +++ b/llvm/lib/Target/CppBackend/CPPTargetMachine.h @@ -19,6 +19,8 @@ namespace llvm { +class raw_ostream; + struct CPPTargetMachine : public TargetMachine { const TargetData DataLayout; // Calculates type size & alignment @@ -26,7 +28,7 @@ struct CPPTargetMachine : public TargetMachine { : DataLayout(&M) {} virtual bool WantsWholeFile() const { return true; } - virtual bool addPassesToEmitWholeFile(PassManager &PM, std::ostream &Out, + virtual bool addPassesToEmitWholeFile(PassManager &PM, raw_ostream &Out, CodeGenFileType FileType, bool Fast); // This class always works, but shouldn't be the default in most cases. |