@@ -1510,8 +1510,8 @@ const MCExpr *PPCAsmParser::fixupVariantKind(const MCExpr *E) {
1510
1510
llvm_unreachable (" Invalid expression kind!" );
1511
1511
}
1512
1512
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.
1515
1515
bool PPCAsmParser::parseExpression (const MCExpr *&EVal) {
1516
1516
// (ELF Platforms)
1517
1517
// Handle \code @l/@ha \endcode
@@ -1528,7 +1528,6 @@ bool PPCAsmParser::parseExpression(const MCExpr *&EVal) {
1528
1528
return false ;
1529
1529
}
1530
1530
1531
- // / parseOperand
1532
1531
// / This handles registers in the form 'NN', '%rNN' for ELF platforms and
1533
1532
// / rNN for MachO.
1534
1533
bool PPCAsmParser::parseOperand (OperandVector &Operands) {
@@ -1729,7 +1728,7 @@ bool PPCAsmParser::parseInstruction(ParseInstructionInfo &Info, StringRef Name,
1729
1728
return false ;
1730
1729
}
1731
1730
1732
- // / ParseDirective parses the PPC specific directives
1731
+ // / Parses the PPC specific directives
1733
1732
bool PPCAsmParser::ParseDirective (AsmToken DirectiveID) {
1734
1733
StringRef IDVal = DirectiveID.getIdentifier ();
1735
1734
if (IDVal == " .word" )
@@ -1751,7 +1750,6 @@ bool PPCAsmParser::ParseDirective(AsmToken DirectiveID) {
1751
1750
return false ;
1752
1751
}
1753
1752
1754
- // / parseDirectiveWord
1755
1753
// / ::= .word [ expression (, expression)* ]
1756
1754
bool PPCAsmParser::parseDirectiveWord (unsigned Size, AsmToken ID) {
1757
1755
auto parseOp = [&]() -> bool {
@@ -1776,7 +1774,6 @@ bool PPCAsmParser::parseDirectiveWord(unsigned Size, AsmToken ID) {
1776
1774
return false ;
1777
1775
}
1778
1776
1779
- // / parseDirectiveTC
1780
1777
// / ::= .tc [ symbol (, expression)* ]
1781
1778
bool PPCAsmParser::parseDirectiveTC (unsigned Size, AsmToken ID) {
1782
1779
MCAsmParser &Parser = getParser ();
@@ -1794,7 +1791,7 @@ bool PPCAsmParser::parseDirectiveTC(unsigned Size, AsmToken ID) {
1794
1791
return parseDirectiveWord (Size, ID);
1795
1792
}
1796
1793
1797
- // / parseDirectiveMachine ( ELF platforms)
1794
+ // / ELF platforms.
1798
1795
// / ::= .machine [ cpu | "push" | "pop" ]
1799
1796
bool PPCAsmParser::parseDirectiveMachine (SMLoc L) {
1800
1797
MCAsmParser &Parser = getParser ();
@@ -1821,7 +1818,6 @@ bool PPCAsmParser::parseDirectiveMachine(SMLoc L) {
1821
1818
return false ;
1822
1819
}
1823
1820
1824
- // / parseDirectiveAbiVersion
1825
1821
// / ::= .abiversion constant-expression
1826
1822
bool PPCAsmParser::parseDirectiveAbiVersion (SMLoc L) {
1827
1823
int64_t AbiVersion;
@@ -1838,7 +1834,6 @@ bool PPCAsmParser::parseDirectiveAbiVersion(SMLoc L) {
1838
1834
return false ;
1839
1835
}
1840
1836
1841
- // / parseDirectiveLocalEntry
1842
1837
// / ::= .localentry symbol, expression
1843
1838
bool PPCAsmParser::parseDirectiveLocalEntry (SMLoc L) {
1844
1839
StringRef Name;
0 commit comments