[llvm] c7f3bc8 - Fix Wdocumentation warning. NFCI.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 11 03:25:34 PDT 2020


Author: Simon Pilgrim
Date: 2020-10-11T11:25:22+01:00
New Revision: c7f3bc87d3e5442bfbbb08133e3cc634d6ae466f

URL: https://github.com/llvm/llvm-project/commit/c7f3bc87d3e5442bfbbb08133e3cc634d6ae466f
DIFF: https://github.com/llvm/llvm-project/commit/c7f3bc87d3e5442bfbbb08133e3cc634d6ae466f.diff

LOG: Fix Wdocumentation warning. NFCI.

Add a space after /param names before any commas otherwise the doxygen parsers get confused.

Added: 
    

Modified: 
    llvm/include/llvm/Object/MachOUniversalWriter.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Object/MachOUniversalWriter.h b/llvm/include/llvm/Object/MachOUniversalWriter.h
index 606db94c9f20..cdfedcf0379e 100644
--- a/llvm/include/llvm/Object/MachOUniversalWriter.h
+++ b/llvm/include/llvm/Object/MachOUniversalWriter.h
@@ -43,9 +43,9 @@ class Slice {
 
   Slice(const MachOObjectFile &O, uint32_t Align);
 
-  /// This constructor takes prespecified \param CPUType, \param CPUSubType,
-  /// \param ArchName, \param Align instead of inferring them from the archive
-  /// memebers.
+  /// This constructor takes pre-specified \param CPUType , \param CPUSubType ,
+  /// \param ArchName , \param Align instead of inferring them from the archive
+  /// members.
   Slice(const Archive &A, uint32_t CPUType, uint32_t CPUSubType,
         std::string ArchName, uint32_t Align);
 


        


More information about the llvm-commits mailing list