Skip to content

Commit a9d51f0

Browse files
committed
[MCParser] De-capitalize ParseDirectiveCGProfile. NFC
1 parent ce858e2 commit a9d51f0

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

llvm/include/llvm/MC/MCParser/MCAsmParserExtension.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class MCAsmParserExtension {
9898
return getParser().parseOptionalToken(T);
9999
}
100100

101-
bool ParseDirectiveCGProfile(StringRef, SMLoc);
101+
bool parseDirectiveCGProfile(StringRef, SMLoc);
102102

103103
bool check(bool P, const Twine &Msg) {
104104
return getParser().check(P, Msg);

llvm/lib/MC/MCParser/COFFAsmParser.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ bool COFFAsmParser::parseDirectiveSymbolAttribute(StringRef Directive, SMLoc) {
301301
}
302302

303303
bool COFFAsmParser::parseDirectiveCGProfile(StringRef S, SMLoc Loc) {
304-
return MCAsmParserExtension::ParseDirectiveCGProfile(S, Loc);
304+
return MCAsmParserExtension::parseDirectiveCGProfile(S, Loc);
305305
}
306306

307307
bool COFFAsmParser::parseSectionSwitch(StringRef Section,

llvm/lib/MC/MCParser/DarwinAsmParser.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@ bool DarwinAsmParser::parseBuildVersion(StringRef Directive, SMLoc Loc) {
12051205
/// parseDirectiveCGProfile
12061206
/// ::= .cg_profile from, to, count
12071207
bool DarwinAsmParser::parseDirectiveCGProfile(StringRef S, SMLoc Loc) {
1208-
return MCAsmParserExtension::ParseDirectiveCGProfile(S, Loc);
1208+
return MCAsmParserExtension::parseDirectiveCGProfile(S, Loc);
12091209
}
12101210

12111211
namespace llvm {

llvm/lib/MC/MCParser/ELFAsmParser.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ bool ELFAsmParser::parseDirectiveSubsection(StringRef, SMLoc) {
925925
}
926926

927927
bool ELFAsmParser::parseDirectiveCGProfile(StringRef S, SMLoc Loc) {
928-
return MCAsmParserExtension::ParseDirectiveCGProfile(S, Loc);
928+
return MCAsmParserExtension::parseDirectiveCGProfile(S, Loc);
929929
}
930930

931931
namespace llvm {

llvm/lib/MC/MCParser/MCAsmParserExtension.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ void MCAsmParserExtension::Initialize(MCAsmParser &Parser) {
2222
this->Parser = &Parser;
2323
}
2424

25-
/// ParseDirectiveCGProfile
25+
/// parseDirectiveCGProfile
2626
/// ::= .cg_profile identifier, identifier, <number>
27-
bool MCAsmParserExtension::ParseDirectiveCGProfile(StringRef, SMLoc) {
27+
bool MCAsmParserExtension::parseDirectiveCGProfile(StringRef, SMLoc) {
2828
StringRef From;
2929
SMLoc FromLoc = getLexer().getLoc();
3030
if (getParser().parseIdentifier(From))

0 commit comments

Comments
 (0)