[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:
parent
96d4872899
commit
edc318166f
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue