aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen/AsmMatcherEmitter.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-09-05 01:15:43 +0000
committerChad Rosier <mcrosier@apple.com>2012-09-05 01:15:43 +0000
commit5d637d7e93c1f6058c16b41b8ac7dd36c61b4a5c (patch)
tree1d6ac481ed6fd5515debc5f16b85d7edf5f5f591 /utils/TableGen/AsmMatcherEmitter.cpp
parent90e11f8c95146c2d3718e9b3de71ee6628347b05 (diff)
Fix function name per coding standard.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163187 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/AsmMatcherEmitter.cpp')
-rw-r--r--utils/TableGen/AsmMatcherEmitter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/TableGen/AsmMatcherEmitter.cpp b/utils/TableGen/AsmMatcherEmitter.cpp
index 3fac23ef28..78eb641899 100644
--- a/utils/TableGen/AsmMatcherEmitter.cpp
+++ b/utils/TableGen/AsmMatcherEmitter.cpp
@@ -1701,7 +1701,7 @@ static void emitConvertToMCInst(CodeGenTarget &Target, StringRef ClassName,
raw_string_ostream OpOS(OperandFnBody);
// Start the operand number lookup function.
OpOS << "unsigned " << Target.getName() << ClassName << "::\n"
- << "GetMCInstOperandNumImpl(unsigned Kind, MCInst &Inst,\n"
+ << "getMCInstOperandNumImpl(unsigned Kind, MCInst &Inst,\n"
<< " const SmallVectorImpl<MCParsedAsmOperand*> "
<< "&Operands,\n unsigned OperandNum, unsigned "
<< "&NumMCOperands) {\n"
@@ -1722,7 +1722,7 @@ static void emitConvertToMCInst(CodeGenTarget &Target, StringRef ClassName,
<< " break;\n"
<< " case CVT_Tied:\n"
<< " // FIXME: Tied operand calculation not supported.\n"
- << " assert (0 && \"GetMCInstOperandNumImpl() doesn't support tied operands, yet!\");\n"
+ << " assert (0 && \"getMCInstOperandNumImpl() doesn't support tied operands, yet!\");\n"
<< " break;\n";
// Pre-populate the operand conversion kinds with the standard always
@@ -2599,7 +2599,7 @@ void AsmMatcherEmitter::run(raw_ostream &OS) {
<< "unsigned Opcode,\n"
<< " const SmallVectorImpl<MCParsedAsmOperand*> "
<< "&Operands);\n";
- OS << " unsigned GetMCInstOperandNumImpl(unsigned Kind, MCInst &Inst,\n "
+ OS << " unsigned getMCInstOperandNumImpl(unsigned Kind, MCInst &Inst,\n "
<< " const "
<< "SmallVectorImpl<MCParsedAsmOperand*> &Operands,\n "
<< " unsigned OperandNum, unsigned &NumMCOperands);\n";