[llvm-commits] [llvm] r155038 - in /llvm/trunk/utils/TableGen: CodeGenDAGPatterns.cpp CodeGenRegisters.cpp RegisterInfoEmitter.cpp
Benjamin Kramer
benny.kra at googlemail.com
Wed Apr 18 12:22:48 PDT 2012
Author: d0k
Date: Wed Apr 18 14:22:47 2012
New Revision: 155038
URL: http://llvm.org/viewvc/llvm-project?rev=155038&view=rev
Log:
tblgen: remove duplicated newlines.
Modified:
llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp
llvm/trunk/utils/TableGen/CodeGenRegisters.cpp
llvm/trunk/utils/TableGen/RegisterInfoEmitter.cpp
Modified: llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp?rev=155038&r1=155037&r2=155038&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp (original)
+++ llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp Wed Apr 18 14:22:47 2012
@@ -2486,7 +2486,7 @@
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 @@
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 @@
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 @@
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;
}
Modified: llvm/trunk/utils/TableGen/CodeGenRegisters.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/CodeGenRegisters.cpp?rev=155038&r1=155037&r2=155038&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/CodeGenRegisters.cpp (original)
+++ llvm/trunk/utils/TableGen/CodeGenRegisters.cpp Wed Apr 18 14:22:47 2012
@@ -900,7 +900,7 @@
PrintWarning(Twine("SubRegIndex") + Idx1->getQualifiedName() +
" and " + Idx2->getQualifiedName() +
" compose ambiguously as " + Prev->getQualifiedName() +
- " or " + i1d->first->getQualifiedName() +"\n");
+ " or " + i1d->first->getQualifiedName());
}
}
}
Modified: llvm/trunk/utils/TableGen/RegisterInfoEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/RegisterInfoEmitter.cpp?rev=155038&r1=155037&r2=155038&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/RegisterInfoEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/RegisterInfoEmitter.cpp Wed Apr 18 14:22:47 2012
@@ -210,7 +210,7 @@
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;
}
More information about the llvm-commits
mailing list