Skip to content

Commit 1073a23

Browse files
pxigelewisPaige Lewis
andauthored
Updating variable names (#130136)
Updating variable names within the SystemZAsmParser to comply with naming conventions. Co-authored-by: Paige Lewis <[email protected]>
1 parent 72376e1 commit 1073a23

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -439,9 +439,9 @@ class SystemZAsmParser : public MCTargetAsmParser {
439439
bool HasLength = false, bool HasVectorIndex = false);
440440
bool parseAddressRegister(Register &Reg);
441441

442-
bool ParseDirectiveInsn(SMLoc L);
443-
bool ParseDirectiveMachine(SMLoc L);
444-
bool ParseGNUAttribute(SMLoc L);
442+
bool parseDirectiveInsn(SMLoc L);
443+
bool parseDirectiveMachine(SMLoc L);
444+
bool parseGNUAttribute(SMLoc L);
445445

446446
ParseStatus parseAddress(OperandVector &Operands, MemoryKind MemKind,
447447
RegisterKind RegKind);
@@ -1236,18 +1236,18 @@ ParseStatus SystemZAsmParser::parseDirective(AsmToken DirectiveID) {
12361236
StringRef IDVal = DirectiveID.getIdentifier();
12371237

12381238
if (IDVal == ".insn")
1239-
return ParseDirectiveInsn(DirectiveID.getLoc());
1239+
return parseDirectiveInsn(DirectiveID.getLoc());
12401240
if (IDVal == ".machine")
1241-
return ParseDirectiveMachine(DirectiveID.getLoc());
1241+
return parseDirectiveMachine(DirectiveID.getLoc());
12421242
if (IDVal.starts_with(".gnu_attribute"))
1243-
return ParseGNUAttribute(DirectiveID.getLoc());
1243+
return parseGNUAttribute(DirectiveID.getLoc());
12441244

12451245
return ParseStatus::NoMatch;
12461246
}
12471247

12481248
/// ParseDirectiveInsn
12491249
/// ::= .insn [ format, encoding, (operands (, operands)*) ]
1250-
bool SystemZAsmParser::ParseDirectiveInsn(SMLoc L) {
1250+
bool SystemZAsmParser::parseDirectiveInsn(SMLoc L) {
12511251
MCAsmParser &Parser = getParser();
12521252

12531253
// Expect instruction format as identifier.
@@ -1359,7 +1359,7 @@ bool SystemZAsmParser::ParseDirectiveInsn(SMLoc L) {
13591359

13601360
/// ParseDirectiveMachine
13611361
/// ::= .machine [ mcpu ]
1362-
bool SystemZAsmParser::ParseDirectiveMachine(SMLoc L) {
1362+
bool SystemZAsmParser::parseDirectiveMachine(SMLoc L) {
13631363
MCAsmParser &Parser = getParser();
13641364
if (Parser.getTok().isNot(AsmToken::Identifier) &&
13651365
Parser.getTok().isNot(AsmToken::String))
@@ -1379,7 +1379,7 @@ bool SystemZAsmParser::ParseDirectiveMachine(SMLoc L) {
13791379
return false;
13801380
}
13811381

1382-
bool SystemZAsmParser::ParseGNUAttribute(SMLoc L) {
1382+
bool SystemZAsmParser::parseGNUAttribute(SMLoc L) {
13831383
int64_t Tag;
13841384
int64_t IntegerValue;
13851385
if (!Parser.parseGNUAttribute(L, Tag, IntegerValue))

0 commit comments

Comments
 (0)