summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCStreamer.cpp
diff options
context:
space:
mode:
authorKrasimir Georgiev <krasimir@google.com>2018-08-29 10:40:51 +0000
committerKrasimir Georgiev <krasimir@google.com>2018-08-29 10:40:51 +0000
commitedc318166fc9b2882fdab0d004bc3bdb598197d6 (patch)
tree1e82680302b4816316eb10509ee8d1ffc0ef9f4f /llvm/lib/MC/MCStreamer.cpp
parent96d48728990ca497f571b53bacafaa5b71eeafdf (diff)
downloadbcm5719-llvm-edc318166fc9b2882fdab0d004bc3bdb598197d6.tar.gz
bcm5719-llvm-edc318166fc9b2882fdab0d004bc3bdb598197d6.zip
[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
Diffstat (limited to 'llvm/lib/MC/MCStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCStreamer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCStreamer.cpp b/llvm/lib/MC/MCStreamer.cpp
index 372bb2c6731..fa0d1f46cbb 100644
--- a/llvm/lib/MC/MCStreamer.cpp
+++ b/llvm/lib/MC/MCStreamer.cpp
@@ -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");
OpenPOWER on IntegriCloud