[MC] fix a clang-tidy warning, NFC
Summary:
Per clang-tidy:
function 'llvm::MCStreamer::checkCVLocSection' has a definition with different parameter names
.../llvm/lib/MC/MCStreamer.cpp:275:18: the definition seen here
.../llvm/include/llvm/MC/MCStreamer.h:235:8: differing parameters are named here: ('FuncId'), in definition: ('FunctionId')
Reviewers: bkramer
Reviewed By: bkramer
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D51406
llvm-svn: 340912
diff --git a/llvm/lib/MC/MCStreamer.cpp b/llvm/lib/MC/MCStreamer.cpp
index 372bb2c..fa0d1f4 100644
--- a/llvm/lib/MC/MCStreamer.cpp
+++ b/llvm/lib/MC/MCStreamer.cpp
@@ -272,10 +272,10 @@
bool PrologueEnd, bool IsStmt,
StringRef FileName, SMLoc Loc) {}
-bool MCStreamer::checkCVLocSection(unsigned FunctionId, unsigned FileNo,
+bool MCStreamer::checkCVLocSection(unsigned FuncId, unsigned FileNo,
SMLoc Loc) {
CodeViewContext &CVC = getContext().getCVContext();
- MCCVFunctionInfo *FI = CVC.getCVFunctionInfo(FunctionId);
+ MCCVFunctionInfo *FI = CVC.getCVFunctionInfo(FuncId);
if (!FI) {
getContext().reportError(
Loc, "function id not introduced by .cv_func_id or .cv_inline_site_id");