diff options
author | Bob Wilson <bob.wilson@apple.com> | 2011-02-03 21:46:10 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2011-02-03 21:46:10 +0000 |
commit | 69df72367f45c0414541196efaf7c13b1ccd3f08 (patch) | |
tree | 328d6fda5a1d9476c7812679af6591f810b7db67 /lib/Target/ARM/AsmParser/ARMAsmParser.cpp | |
parent | d538e249224a91f85bd4297c71b2bfa71113a9ad (diff) |
Fix 80-column violations and whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124819 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/AsmParser/ARMAsmParser.cpp')
-rw-r--r-- | lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index e40b8463e8..16a6bb1537 100644 --- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -550,7 +550,8 @@ static unsigned MatchRegisterName(StringRef Name); /// } -bool ARMAsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) { +bool ARMAsmParser::ParseRegister(unsigned &RegNo, + SMLoc &StartLoc, SMLoc &EndLoc) { RegNo = TryParseRegister(); return (RegNo == (unsigned)-1); @@ -578,12 +579,11 @@ int ARMAsmParser::TryParseRegister() { .Default(0); } if (!RegNum) return -1; - + Parser.Lex(); // Eat identifier token. return RegNum; } - /// Try to parse a register name. The token must be an Identifier when called. /// If it's a register, an AsmOperand is created. Another AsmOperand is created /// if there is a "writeback". 'true' if it's not a register. |