[llvm] ec547a7 - [X86] X86AsmPrinter - ensure the declaration/definition variable names match. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 31 04:34:47 PDT 2020
Author: Simon Pilgrim
Date: 2020-10-31T11:31:46Z
New Revision: ec547a751755d3e86b4703696b8280b29f2514de
URL: https://github.com/llvm/llvm-project/commit/ec547a751755d3e86b4703696b8280b29f2514de
DIFF: https://github.com/llvm/llvm-project/commit/ec547a751755d3e86b4703696b8280b29f2514de.diff
LOG: [X86] X86AsmPrinter - ensure the declaration/definition variable names match. NFCI.
Silences cppcheck mismatch warnings.
Added:
Modified:
llvm/lib/Target/X86/X86AsmPrinter.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86AsmPrinter.h b/llvm/lib/Target/X86/X86AsmPrinter.h
index eb485fa2ecef..a3b74c8ee387 100644
--- a/llvm/lib/Target/X86/X86AsmPrinter.h
+++ b/llvm/lib/Target/X86/X86AsmPrinter.h
@@ -134,9 +134,9 @@ class LLVM_LIBRARY_VISIBILITY X86AsmPrinter : public AsmPrinter {
}
bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
- const char *ExtraCode, raw_ostream &OS) override;
+ const char *ExtraCode, raw_ostream &O) override;
bool PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNo,
- const char *ExtraCode, raw_ostream &OS) override;
+ const char *ExtraCode, raw_ostream &O) override;
bool doInitialization(Module &M) override {
SMShadowTracker.reset(0);
@@ -145,7 +145,7 @@ class LLVM_LIBRARY_VISIBILITY X86AsmPrinter : public AsmPrinter {
return AsmPrinter::doInitialization(M);
}
- bool runOnMachineFunction(MachineFunction &F) override;
+ bool runOnMachineFunction(MachineFunction &MF) override;
void emitFunctionBodyStart() override;
void emitFunctionBodyEnd() override;
};
More information about the llvm-commits
mailing list