[llvm] c8140d0 - [MCParser] De-capitalize ELFAsmParser comments. NFC
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 26 10:47:56 PDT 2024
Author: Fangrui Song
Date: 2024-10-26T10:47:51-07:00
New Revision: c8140d0d7fa943f5ae339cb5e6f4fd8644d5ae89
URL: https://github.com/llvm/llvm-project/commit/c8140d0d7fa943f5ae339cb5e6f4fd8644d5ae89
DIFF: https://github.com/llvm/llvm-project/commit/c8140d0d7fa943f5ae339cb5e6f4fd8644d5ae89.diff
LOG: [MCParser] De-capitalize ELFAsmParser comments. NFC
Added:
Modified:
llvm/lib/MC/MCParser/ELFAsmParser.cpp
Removed:
################################################################################
diff --git a/llvm/lib/MC/MCParser/ELFAsmParser.cpp b/llvm/lib/MC/MCParser/ELFAsmParser.cpp
index 9cdc2aafe3d224..b58210b3c268e9 100644
--- a/llvm/lib/MC/MCParser/ELFAsmParser.cpp
+++ b/llvm/lib/MC/MCParser/ELFAsmParser.cpp
@@ -163,7 +163,7 @@ class ELFAsmParser : public MCAsmParserExtension {
} // end anonymous namespace
-/// ParseDirectiveSymbolAttribute
+/// parseDirectiveSymbolAttribute
/// ::= { ".local", ".weak", ... } [ identifier ( , identifier )* ]
bool ELFAsmParser::parseDirectiveSymbolAttribute(StringRef Directive, SMLoc) {
MCSymbolAttr Attr = StringSwitch<MCSymbolAttr>(Directive)
@@ -746,7 +746,7 @@ static MCSymbolAttr MCAttrForString(StringRef Type) {
.Default(MCSA_Invalid);
}
-/// ParseDirectiveELFType
+/// parseDirectiveELFType
/// ::= .type identifier , STT_<TYPE_IN_UPPER_CASE>
/// ::= .type identifier , #attribute
/// ::= .type identifier , @attribute
@@ -803,7 +803,7 @@ bool ELFAsmParser::parseDirectiveType(StringRef, SMLoc) {
return false;
}
-/// ParseDirectiveIdent
+/// parseDirectiveIdent
/// ::= .ident string
bool ELFAsmParser::parseDirectiveIdent(StringRef, SMLoc) {
if (getLexer().isNot(AsmToken::String))
@@ -821,7 +821,7 @@ bool ELFAsmParser::parseDirectiveIdent(StringRef, SMLoc) {
return false;
}
-/// ParseDirectiveSymver
+/// parseDirectiveSymver
/// ::= .symver foo, bar2 at zed
bool ELFAsmParser::parseDirectiveSymver(StringRef, SMLoc) {
StringRef OriginalName, Name, Action;
@@ -858,7 +858,7 @@ bool ELFAsmParser::parseDirectiveSymver(StringRef, SMLoc) {
return false;
}
-/// ParseDirectiveVersion
+/// parseDirectiveVersion
/// ::= .version string
bool ELFAsmParser::parseDirectiveVersion(StringRef, SMLoc) {
if (getLexer().isNot(AsmToken::String))
@@ -882,7 +882,7 @@ bool ELFAsmParser::parseDirectiveVersion(StringRef, SMLoc) {
return false;
}
-/// ParseDirectiveWeakref
+/// parseDirectiveWeakref
/// ::= .weakref foo, bar
bool ELFAsmParser::parseDirectiveWeakref(StringRef, SMLoc) {
// FIXME: Share code with the other alias building directives.
More information about the llvm-commits
mailing list