diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2010-10-23 07:32:37 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2010-10-23 07:32:37 +0000 |
commit | de68389cd34259d3301c82b864d07f4eeb38af5c (patch) | |
tree | 8b2c3755ce5251fab98787c9213fa3874a33f43e | |
parent | 817bbac4f7188407569fa5e378fa6314857d5eb2 (diff) | |
download | bcm5719-llvm-de68389cd34259d3301c82b864d07f4eeb38af5c.tar.gz bcm5719-llvm-de68389cd34259d3301c82b864d07f4eeb38af5c.zip |
Trailing whitespace.
llvm-svn: 117195
-rw-r--r-- | llvm/utils/TableGen/TGParser.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/utils/TableGen/TGParser.cpp b/llvm/utils/TableGen/TGParser.cpp index 188ba4d2b1b..a666c9140da 100644 --- a/llvm/utils/TableGen/TGParser.cpp +++ b/llvm/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<Init*, 2> 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"); |