Skip to content

Commit 1d6b8c8

Browse files
committed
clean up doc that contain function names
1 parent 2d838e4 commit 1d6b8c8

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6797,7 +6797,7 @@ bool AArch64AsmParser::matchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
67976797
llvm_unreachable("Implement any new match types added!");
67986798
}
67996799

6800-
/// ParseDirectives parses the arm specific directives
6800+
/// ParseDirective parses the arm specific directives
68016801
bool AArch64AsmParser::ParseDirective(AsmToken DirectiveID) {
68026802
const MCContext::Environment Format = getContext().getObjectFileType();
68036803
bool IsMachO = Format == MCContext::IsMachO;

llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,8 +1510,8 @@ const MCExpr *PPCAsmParser::fixupVariantKind(const MCExpr *E) {
15101510
llvm_unreachable("Invalid expression kind!");
15111511
}
15121512

1513-
/// parseExpression. This differs from the default "parseExpression" in that
1514-
/// it handles modifiers.
1513+
/// This differs from the default "parseExpression" in that it handles
1514+
/// modifiers.
15151515
bool PPCAsmParser::parseExpression(const MCExpr *&EVal) {
15161516
// (ELF Platforms)
15171517
// Handle \code @l/@ha \endcode
@@ -1528,7 +1528,6 @@ bool PPCAsmParser::parseExpression(const MCExpr *&EVal) {
15281528
return false;
15291529
}
15301530

1531-
/// parseOperand
15321531
/// This handles registers in the form 'NN', '%rNN' for ELF platforms and
15331532
/// rNN for MachO.
15341533
bool PPCAsmParser::parseOperand(OperandVector &Operands) {
@@ -1729,7 +1728,7 @@ bool PPCAsmParser::parseInstruction(ParseInstructionInfo &Info, StringRef Name,
17291728
return false;
17301729
}
17311730

1732-
/// ParseDirective parses the PPC specific directives
1731+
/// Parses the PPC specific directives
17331732
bool PPCAsmParser::ParseDirective(AsmToken DirectiveID) {
17341733
StringRef IDVal = DirectiveID.getIdentifier();
17351734
if (IDVal == ".word")
@@ -1751,7 +1750,6 @@ bool PPCAsmParser::ParseDirective(AsmToken DirectiveID) {
17511750
return false;
17521751
}
17531752

1754-
/// parseDirectiveWord
17551753
/// ::= .word [ expression (, expression)* ]
17561754
bool PPCAsmParser::parseDirectiveWord(unsigned Size, AsmToken ID) {
17571755
auto parseOp = [&]() -> bool {
@@ -1776,7 +1774,6 @@ bool PPCAsmParser::parseDirectiveWord(unsigned Size, AsmToken ID) {
17761774
return false;
17771775
}
17781776

1779-
/// parseDirectiveTC
17801777
/// ::= .tc [ symbol (, expression)* ]
17811778
bool PPCAsmParser::parseDirectiveTC(unsigned Size, AsmToken ID) {
17821779
MCAsmParser &Parser = getParser();
@@ -1794,7 +1791,7 @@ bool PPCAsmParser::parseDirectiveTC(unsigned Size, AsmToken ID) {
17941791
return parseDirectiveWord(Size, ID);
17951792
}
17961793

1797-
/// parseDirectiveMachine (ELF platforms)
1794+
/// ELF platforms.
17981795
/// ::= .machine [ cpu | "push" | "pop" ]
17991796
bool PPCAsmParser::parseDirectiveMachine(SMLoc L) {
18001797
MCAsmParser &Parser = getParser();
@@ -1821,7 +1818,6 @@ bool PPCAsmParser::parseDirectiveMachine(SMLoc L) {
18211818
return false;
18221819
}
18231820

1824-
/// parseDirectiveAbiVersion
18251821
/// ::= .abiversion constant-expression
18261822
bool PPCAsmParser::parseDirectiveAbiVersion(SMLoc L) {
18271823
int64_t AbiVersion;
@@ -1838,7 +1834,6 @@ bool PPCAsmParser::parseDirectiveAbiVersion(SMLoc L) {
18381834
return false;
18391835
}
18401836

1841-
/// parseDirectiveLocalEntry
18421837
/// ::= .localentry symbol, expression
18431838
bool PPCAsmParser::parseDirectiveLocalEntry(SMLoc L) {
18441839
StringRef Name;

0 commit comments

Comments
 (0)