[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
This commit is contained in:
Krasimir Georgiev 2018-08-29 10:40:51 +00:00
parent 96d4872899
commit edc318166f
1 changed files with 2 additions and 2 deletions

View File

@ -272,10 +272,10 @@ void MCStreamer::EmitCVLocDirective(unsigned FunctionId, unsigned FileNo,
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");