[llvm-commits] CVS: llvm/utils/TableGen/AsmWriterEmitter.cpp
Jeff Cohen
jeffc at jolt-lang.org
Tue Jul 26 23:12:58 PDT 2005
Changes in directory llvm/utils/TableGen:
AsmWriterEmitter.cpp updated: 1.21 -> 1.22
---
Log message:
Eliminate all remaining tabs and trailing spaces.
---
Diffs of the changes: (+4 -4)
AsmWriterEmitter.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm/utils/TableGen/AsmWriterEmitter.cpp
diff -u llvm/utils/TableGen/AsmWriterEmitter.cpp:1.21 llvm/utils/TableGen/AsmWriterEmitter.cpp:1.22
--- llvm/utils/TableGen/AsmWriterEmitter.cpp:1.21 Fri Jul 15 17:43:04 2005
+++ llvm/utils/TableGen/AsmWriterEmitter.cpp Wed Jul 27 01:12:35 2005
@@ -116,7 +116,7 @@
LastEmitted = DollarPos;
} else if (AsmString[DollarPos] == '{') {
if (inVariant)
- throw "Nested variants found for instruction '" +
+ throw "Nested variants found for instruction '" +
CGI.TheDef->getName() + "'!";
LastEmitted = DollarPos+1;
inVariant = true; // We are now inside of the variant!
@@ -127,7 +127,7 @@
std::string::size_type NP =
AsmString.find_first_of("|}", LastEmitted);
if (NP == std::string::npos)
- throw "Incomplete variant for instruction '" +
+ throw "Incomplete variant for instruction '" +
CGI.TheDef->getName() + "'!";
LastEmitted = NP+1;
if (AsmString[NP] == '}') {
@@ -142,7 +142,7 @@
// Move to the end of variant list.
std::string::size_type NP = AsmString.find('}', LastEmitted);
if (NP == std::string::npos)
- throw "Incomplete variant for instruction '" +
+ throw "Incomplete variant for instruction '" +
CGI.TheDef->getName() + "'!";
LastEmitted = NP+1;
inVariant = false;
@@ -188,7 +188,7 @@
++VarEnd;
}
if (VarName.empty())
- throw "Stray '$' in '" + CGI.TheDef->getName() +
+ throw "Stray '$' in '" + CGI.TheDef->getName() +
"' asm string, maybe you want $$?";
unsigned OpNo = CGI.getOperandNamed(VarName);
More information about the llvm-commits
mailing list