diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-11-01 16:44:21 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-11-01 16:44:21 +0000 |
commit | d4462a5a4feae0293ca14376ff25d8bb72dd12a9 (patch) | |
tree | ce680bf2599415149495481a2bd23b293b47049b /lib | |
parent | f89671d994ba27e2816a7e49eb8bbc1b43d2a147 (diff) | |
download | external_llvm-d4462a5a4feae0293ca14376ff25d8bb72dd12a9.zip external_llvm-d4462a5a4feae0293ca14376ff25d8bb72dd12a9.tar.gz external_llvm-d4462a5a4feae0293ca14376ff25d8bb72dd12a9.tar.bz2 |
trailing whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117927 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index 31bb8f2..fe46a04 100644 --- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -369,7 +369,7 @@ static unsigned MatchRegisterName(StringRef Name); int ARMAsmParser::TryParseRegister() { const AsmToken &Tok = Parser.getTok(); assert(Tok.is(AsmToken::Identifier) && "Token is not an Identifier"); - + // FIXME: Validate register for the current architecture; we have to do // validation later, so maybe there is no need for this here. int RegNum = MatchRegisterName(Tok.getString()); @@ -378,8 +378,8 @@ int ARMAsmParser::TryParseRegister() { Parser.Lex(); // Eat identifier token. return RegNum; } - - + + /// Try to parse a register name. The token must be an Identifier when called, /// and if it is a register name the token is eaten and the register number is /// returned. Otherwise return -1. @@ -390,7 +390,7 @@ ARMOperand *ARMAsmParser::TryParseRegisterWithWriteBack() { SMLoc S = Parser.getTok().getLoc(); int RegNo = TryParseRegister(); if (RegNo == -1) return 0; - + SMLoc E = Parser.getTok().getLoc(); bool Writeback = false; @@ -602,7 +602,7 @@ bool ARMAsmParser::ParseMemoryOffsetReg(bool &Negative, E = CurLoc; } } - + // If we parsed a register as the offset then their can be a shift after that if (OffsetRegNum != -1) { // Look for a comma then a shift |