[PATCH] D51406: [MC] fix a clang-tidy warning, NFC

Krasimir Georgiev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 29 03:42:00 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL340912: [MC] fix a clang-tidy warning, NFC (authored by krasimir, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D51406

Files:
  llvm/trunk/lib/MC/MCStreamer.cpp


Index: llvm/trunk/lib/MC/MCStreamer.cpp
===================================================================
--- llvm/trunk/lib/MC/MCStreamer.cpp
+++ llvm/trunk/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");


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51406.163036.patch
Type: text/x-patch
Size: 838 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180829/c9ea2076/attachment.bin>


More information about the llvm-commits mailing list