diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-09-05 01:02:38 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-09-05 01:02:38 +0000 |
commit | 90e11f8c95146c2d3718e9b3de71ee6628347b05 (patch) | |
tree | a161732d3a0b59717e11d3ad035a8b08168f9467 /utils | |
parent | f16ae5889140e42aa9092016e99aa706221e11ed (diff) | |
download | llvm-90e11f8c95146c2d3718e9b3de71ee6628347b05.tar.gz llvm-90e11f8c95146c2d3718e9b3de71ee6628347b05.tar.bz2 llvm-90e11f8c95146c2d3718e9b3de71ee6628347b05.tar.xz |
Fix function name per coding standard.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163186 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/AsmMatcherEmitter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/TableGen/AsmMatcherEmitter.cpp b/utils/TableGen/AsmMatcherEmitter.cpp index 3c107a22e0..3fac23ef28 100644 --- a/utils/TableGen/AsmMatcherEmitter.cpp +++ b/utils/TableGen/AsmMatcherEmitter.cpp @@ -416,7 +416,7 @@ struct MatchableInfo { SmallVector<SubtargetFeatureInfo*, 4> RequiredFeatures; /// ConversionFnKind - The enum value which is passed to the generated - /// ConvertToMCInst to convert parsed operands into an MCInst for this + /// convertToMCInst to convert parsed operands into an MCInst for this /// function. std::string ConversionFnKind; @@ -1679,7 +1679,7 @@ static void emitConvertToMCInst(CodeGenTarget &Target, StringRef ClassName, raw_string_ostream CvtOS(ConvertFnBody); // Start the unified conversion function. CvtOS << "void " << Target.getName() << ClassName << "::\n" - << "ConvertToMCInst(unsigned Kind, MCInst &Inst, " + << "convertToMCInst(unsigned Kind, MCInst &Inst, " << "unsigned Opcode,\n" << " const SmallVectorImpl<MCParsedAsmOperand*" << "> &Operands) {\n" @@ -2595,7 +2595,7 @@ void AsmMatcherEmitter::run(raw_ostream &OS) { OS << " // This should be included into the middle of the declaration of\n"; OS << " // your subclasses implementation of MCTargetAsmParser.\n"; OS << " unsigned ComputeAvailableFeatures(uint64_t FeatureBits) const;\n"; - OS << " void ConvertToMCInst(unsigned Kind, MCInst &Inst, " + OS << " void convertToMCInst(unsigned Kind, MCInst &Inst, " << "unsigned Opcode,\n" << " const SmallVectorImpl<MCParsedAsmOperand*> " << "&Operands);\n"; @@ -2884,7 +2884,7 @@ void AsmMatcherEmitter::run(raw_ostream &OS) { OS << "\n"; OS << " // We have selected a definite instruction, convert the parsed\n" << " // operands into the appropriate MCInst.\n"; - OS << " ConvertToMCInst(it->ConvertFn, Inst, it->Opcode, Operands);\n"; + OS << " convertToMCInst(it->ConvertFn, Inst, it->Opcode, Operands);\n"; OS << "\n"; // Verify the instruction with the target-specific match predicate function. |