[llvm-commits] [llvm] r155032 - /llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp
Jim Grosbach
grosbach at apple.com
Wed Apr 18 11:56:33 PDT 2012
Author: grosbach
Date: Wed Apr 18 13:56:33 2012
New Revision: 155032
URL: http://llvm.org/viewvc/llvm-project?rev=155032&view=rev
Log:
Tidy up. Formatting.
Modified:
llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp
Modified: llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp?rev=155032&r1=155031&r2=155032&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp Wed Apr 18 13:56:33 2012
@@ -289,7 +289,8 @@
for (unsigned i = 0, e = NumberedInstructions.size(); i != e; ++i) {
AsmWriterInst *AWI = CGIAWIMap[NumberedInstructions[i]];
if (AWI != 0 &&
- AWI->Operands[0].OperandType == AsmWriterOperand::isLiteralTextOperand &&
+ AWI->Operands[0].OperandType ==
+ AsmWriterOperand::isLiteralTextOperand &&
!AWI->Operands[0].Str.empty()) {
std::string Str = AWI->Operands[0].Str;
UnescapeString(Str);
@@ -919,7 +920,7 @@
O << " }\n";
O << " }\n";
O << " }\n\n";
-
+
O << " return true;\n";
O << "}\n\n";
More information about the llvm-commits
mailing list