From 1c289ab6bbf9f06c11fb296ff8d2ef9e344e5654 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Mon, 31 Mar 2014 14:15:07 +0000 Subject: [PATCH] Capitalize the D in parseDirectiveGpDWord. DWord seems to be the canonical way to camel case dword in llvm. Thanks to Daniel Sander for noticing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205191 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Mips/AsmParser/MipsAsmParser.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Target/Mips/AsmParser/MipsAsmParser.cpp b/lib/Target/Mips/AsmParser/MipsAsmParser.cpp index 9ea2522b966..7a731eb3a09 100644 --- a/lib/Target/Mips/AsmParser/MipsAsmParser.cpp +++ b/lib/Target/Mips/AsmParser/MipsAsmParser.cpp @@ -212,7 +212,7 @@ class MipsAsmParser : public MCTargetAsmParser { bool parseDataDirective(unsigned Size, SMLoc L); bool parseDirectiveGpWord(); - bool parseDirectiveGpdWord(); + bool parseDirectiveGpDWord(); MCSymbolRefExpr::VariantKind getVariantKind(StringRef Symbol); @@ -2716,9 +2716,9 @@ bool MipsAsmParser::parseDirectiveGpWord() { return false; } -/// parseDirectiveGpdWord +/// parseDirectiveGpDWord /// ::= .gpdword local_sym -bool MipsAsmParser::parseDirectiveGpdWord() { +bool MipsAsmParser::parseDirectiveGpDWord() { const MCExpr *Value; // EmitGPRel64Value requires an expression, so we are using base class // method to evaluate the expression. @@ -2820,7 +2820,7 @@ bool MipsAsmParser::ParseDirective(AsmToken DirectiveID) { } if (IDVal == ".gpdword") { - parseDirectiveGpdWord(); + parseDirectiveGpDWord(); return false; }