[llvm] r219881 - llvm/Support/Options.h: Use \tparam. [-Wdocumentation]

NAKAMURA Takumi geek4civic at gmail.com
Wed Oct 15 17:14:57 PDT 2014


Author: chapuni
Date: Wed Oct 15 19:14:57 2014
New Revision: 219881

URL: http://llvm.org/viewvc/llvm-project?rev=219881&view=rev
Log:
llvm/Support/Options.h: Use \tparam. [-Wdocumentation]

Modified:
    llvm/trunk/include/llvm/Support/Options.h

Modified: llvm/trunk/include/llvm/Support/Options.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Options.h?rev=219881&r1=219880&r2=219881&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/Options.h (original)
+++ llvm/trunk/include/llvm/Support/Options.h Wed Oct 15 19:14:57 2014
@@ -81,9 +81,9 @@ public:
 
   /// \brief Registers an option with the OptionRegistry singleton.
   ///
-  /// \param ValT type of the option's data
-  /// \param Base class used to key the option
-  /// \param Mem member of \p Base used for keying the option
+  /// \tparam ValT type of the option's data
+  /// \tparam Base class used to key the option
+  /// \tparam Mem member of \p Base used for keying the option
   ///
   /// Options are keyed off the template parameters to generate unique static
   /// characters. The template parameters are (1) the type of the data the
@@ -99,9 +99,9 @@ public:
 
   /// \brief Returns the value of the option.
   ///
-  /// \param ValT type of the option's data
-  /// \param Base class used to key the option
-  /// \param Mem member of \p Base used for keying the option
+  /// \tparam ValT type of the option's data
+  /// \tparam Base class used to key the option
+  /// \tparam Mem member of \p Base used for keying the option
   ///
   /// Reads option values based on the key generated by the template parameters.
   /// Keying for get() is the same as keying for registerOption.





More information about the llvm-commits mailing list