mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
Replace std::iostreams with raw_ostream in TableGen.
- Sorry, I can't help myself. - No intended functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74742 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
#include "CodeGenTarget.h"
|
||||
using namespace llvm;
|
||||
|
||||
void CallingConvEmitter::run(std::ostream &O) {
|
||||
void CallingConvEmitter::run(raw_ostream &O) {
|
||||
EmitSourceFileHeader("Calling Convention Implementation Fragment", O);
|
||||
|
||||
std::vector<Record*> CCs = Records.getAllDerivedDefinitions("CallingConv");
|
||||
@@ -39,7 +39,7 @@ void CallingConvEmitter::run(std::ostream &O) {
|
||||
}
|
||||
|
||||
|
||||
void CallingConvEmitter::EmitCallingConv(Record *CC, std::ostream &O) {
|
||||
void CallingConvEmitter::EmitCallingConv(Record *CC, raw_ostream &O) {
|
||||
ListInit *CCActions = CC->getValueAsListInit("Actions");
|
||||
Counter = 0;
|
||||
|
||||
@@ -60,7 +60,7 @@ void CallingConvEmitter::EmitCallingConv(Record *CC, std::ostream &O) {
|
||||
}
|
||||
|
||||
void CallingConvEmitter::EmitAction(Record *Action,
|
||||
unsigned Indent, std::ostream &O) {
|
||||
unsigned Indent, raw_ostream &O) {
|
||||
std::string IndentStr = std::string(Indent, ' ');
|
||||
|
||||
if (Action->isSubClassOf("CCPredicateAction")) {
|
||||
|
||||
Reference in New Issue
Block a user