From c761f7dca2134d4d500ce7f7db4422356725ee8c Mon Sep 17 00:00:00 2001 From: Mikhail Glushenkov Date: Sat, 23 Oct 2010 07:32:37 +0000 Subject: [PATCH] Trailing whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117195 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/TGParser.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/utils/TableGen/TGParser.cpp b/utils/TableGen/TGParser.cpp index 188ba4d2b1b..a666c9140da 100644 --- a/utils/TableGen/TGParser.cpp +++ b/utils/TableGen/TGParser.cpp @@ -314,7 +314,7 @@ static std::string GetNewAnonymousName() { std::string TGParser::ParseObjectName() { if (Lex.getCode() != tgtok::Id) return GetNewAnonymousName(); - + std::string Ret = Lex.getCurStrVal(); Lex.Lex(); return Ret; @@ -823,7 +823,7 @@ Init *TGParser::ParseOperation(Record *CurRec) { Type = new StringRecTy(); break; } - + if (Lex.getCode() != tgtok::l_paren) { TokError("expected '(' after binary operator"); return 0; @@ -831,7 +831,7 @@ Init *TGParser::ParseOperation(Record *CurRec) { Lex.Lex(); // eat the '(' SmallVector InitList; - + InitList.push_back(ParseValue(CurRec)); if (InitList.back() == 0) return 0; @@ -858,11 +858,11 @@ Init *TGParser::ParseOperation(Record *CurRec) { 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 @@ bool TGParser::ParseDefm(MultiClass *CurMultiClass) { DefmPrefix = Lex.getCurStrVal(); Lex.Lex(); // Eat the defm prefix. } - + SMLoc DefmPrefixLoc = Lex.getLoc(); if (Lex.getCode() != tgtok::colon) return TokError("expected ':' after defm identifier");