From affbc99bea94e77f7ebccd8ba887e33051bd04ee Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Mon, 14 May 2018 12:22:30 +0000 Subject: Fix Wdocumentation warnings. NFCI. llvm-svn: 332239 --- llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h | 2 +- llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h index 2d5eb4e78da..9e2539e8aac 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h @@ -337,7 +337,7 @@ public: /// Helper function for DWARFDebugLine parse functions, to report issues that /// prevent parsing the remainder of the table as warnings. /// - /// \param Error The Error to report. + /// \param Err The Error to report. static void warnForError(Error Err); private: diff --git a/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h b/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h index 9912b894305..6d41cb53f2c 100644 --- a/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h +++ b/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h @@ -281,7 +281,7 @@ public: dwarfgen::CompileUnit &addCompileUnit(); /// Add a line table unit to be generated. - /// \param Format the DWARF format to use (DWARF32 or DWARF64). + /// \param DwarfFormat the DWARF format to use (DWARF32 or DWARF64). /// /// \returns a dwarfgen::LineTable that can be used to customise the contents /// of the line table. -- cgit v1.2.3