llvm.org GIT mirror llvm / 69df723
Fix 80-column violations and whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124819 91177308-0d34-0410-b5e6-96231b3b80d8 Bob Wilson 9 years ago
2 changed file(s) with 5 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
549549
550550 /// }
551551
552 bool ARMAsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) {
552 bool ARMAsmParser::ParseRegister(unsigned &RegNo,
553 SMLoc &StartLoc, SMLoc &EndLoc) {
553554 RegNo = TryParseRegister();
554555
555556 return (RegNo == (unsigned)-1);
577578 .Default(0);
578579 }
579580 if (!RegNum) return -1;
580
581
581582 Parser.Lex(); // Eat identifier token.
582583 return RegNum;
583584 }
584
585585
586586 /// Try to parse a register name. The token must be an Identifier when called.
587587 /// If it's a register, an AsmOperand is created. Another AsmOperand is created
385385 return Op;
386386 }
387387
388 bool MBlazeAsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) {
388 bool MBlazeAsmParser::ParseRegister(unsigned &RegNo,
389 SMLoc &StartLoc, SMLoc &EndLoc) {
389390 return (ParseRegister(RegNo) == 0);
390391 }
391392