[llvm-commits] [llvm] r117195 - /llvm/trunk/utils/TableGen/TGParser.cpp
Mikhail Glushenkov
foldr at codedgers.com
Sat Oct 23 00:32:37 PDT 2010
Author: foldr
Date: Sat Oct 23 02:32:37 2010
New Revision: 117195
URL: http://llvm.org/viewvc/llvm-project?rev=117195&view=rev
Log:
Trailing whitespace.
Modified:
llvm/trunk/utils/TableGen/TGParser.cpp
Modified: llvm/trunk/utils/TableGen/TGParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/TGParser.cpp?rev=117195&r1=117194&r2=117195&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/TGParser.cpp (original)
+++ llvm/trunk/utils/TableGen/TGParser.cpp Sat Oct 23 02:32:37 2010
@@ -314,7 +314,7 @@
std::string TGParser::ParseObjectName() {
if (Lex.getCode() != tgtok::Id)
return GetNewAnonymousName();
-
+
std::string Ret = Lex.getCurStrVal();
Lex.Lex();
return Ret;
@@ -823,7 +823,7 @@
Type = new StringRecTy();
break;
}
-
+
if (Lex.getCode() != tgtok::l_paren) {
TokError("expected '(' after binary operator");
return 0;
@@ -831,7 +831,7 @@
Lex.Lex(); // eat the '('
SmallVector<Init*, 2> InitList;
-
+
InitList.push_back(ParseValue(CurRec));
if (InitList.back() == 0) return 0;
@@ -858,11 +858,11 @@
InitList.back() = RHS;
}
}
-
+
if (InitList.size() == 2)
return (new BinOpInit(Code, InitList[0], InitList[1], Type))
->Fold(CurRec, CurMultiClass);
-
+
Error(OpLoc, "expected two operands to operator");
return 0;
}
@@ -1907,7 +1907,7 @@
DefmPrefix = Lex.getCurStrVal();
Lex.Lex(); // Eat the defm prefix.
}
-
+
SMLoc DefmPrefixLoc = Lex.getLoc();
if (Lex.getCode() != tgtok::colon)
return TokError("expected ':' after defm identifier");
More information about the llvm-commits
mailing list