From 3cbcffc4e5990209ce80a54e615f55245fe3b824 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 18 Apr 2012 19:22:47 +0000 Subject: tblgen: remove duplicated newlines. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155038 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/CodeGenDAGPatterns.cpp | 8 ++++---- utils/TableGen/CodeGenRegisters.cpp | 2 +- utils/TableGen/RegisterInfoEmitter.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/utils/TableGen/CodeGenDAGPatterns.cpp b/utils/TableGen/CodeGenDAGPatterns.cpp index 4f5d58cd18..d4b02fbd2f 100644 --- a/utils/TableGen/CodeGenDAGPatterns.cpp +++ b/utils/TableGen/CodeGenDAGPatterns.cpp @@ -2486,7 +2486,7 @@ static void InferFromPattern(const CodeGenInstruction &Inst, if (MayStore) PrintWarning(Inst.TheDef->getLoc(), "mayStore flag explicitly set on " - "instruction, but flag already inferred from pattern.\n"); + "instruction, but flag already inferred from pattern."); MayStore = true; } @@ -2496,7 +2496,7 @@ static void InferFromPattern(const CodeGenInstruction &Inst, if (MayLoad) PrintWarning(Inst.TheDef->getLoc(), "mayLoad flag explicitly set on " - "instruction, but flag already inferred from pattern.\n"); + "instruction, but flag already inferred from pattern."); MayLoad = true; } @@ -2504,7 +2504,7 @@ static void InferFromPattern(const CodeGenInstruction &Inst, if (HadPattern) PrintWarning(Inst.TheDef->getLoc(), "neverHasSideEffects flag explicitly set on " - "instruction, but flag already inferred from pattern.\n"); + "instruction, but flag already inferred from pattern."); HasSideEffects = false; } @@ -2512,7 +2512,7 @@ static void InferFromPattern(const CodeGenInstruction &Inst, if (HasSideEffects) PrintWarning(Inst.TheDef->getLoc(), "hasSideEffects flag explicitly set on " - "instruction, but flag already inferred from pattern.\n"); + "instruction, but flag already inferred from pattern."); HasSideEffects = true; } diff --git a/utils/TableGen/CodeGenRegisters.cpp b/utils/TableGen/CodeGenRegisters.cpp index 85e33b1aad..45c5bb8b3a 100644 --- a/utils/TableGen/CodeGenRegisters.cpp +++ b/utils/TableGen/CodeGenRegisters.cpp @@ -900,7 +900,7 @@ void CodeGenRegBank::computeComposites() { PrintWarning(Twine("SubRegIndex") + Idx1->getQualifiedName() + " and " + Idx2->getQualifiedName() + " compose ambiguously as " + Prev->getQualifiedName() + - " or " + i1d->first->getQualifiedName() +"\n"); + " or " + i1d->first->getQualifiedName()); } } } diff --git a/utils/TableGen/RegisterInfoEmitter.cpp b/utils/TableGen/RegisterInfoEmitter.cpp index 748ffc5345..97fcca3a85 100644 --- a/utils/TableGen/RegisterInfoEmitter.cpp +++ b/utils/TableGen/RegisterInfoEmitter.cpp @@ -210,7 +210,7 @@ RegisterInfoEmitter::EmitRegMappingTables(raw_ostream &OS, maxLength = std::max((size_t)maxLength, RegNums.size()); if (DwarfRegNums.count(Reg)) PrintWarning(Reg->getLoc(), Twine("DWARF numbers for register ") + - getQualifiedName(Reg) + "specified multiple times\n"); + getQualifiedName(Reg) + "specified multiple times"); DwarfRegNums[Reg] = RegNums; } -- cgit v1.2.3-18-g5258