r215476 - Fix the \param comments to have the parameter name.

Samuel Benzaquen sbenza at google.com
Tue Aug 12 14:50:00 PDT 2014


Author: sbenza
Date: Tue Aug 12 16:49:59 2014
New Revision: 215476

URL: http://llvm.org/viewvc/llvm-project?rev=215476&view=rev
Log:
Fix the \param comments to have the parameter name.

Summary: This fixes the build break introduced in rL215472

Reviewers: pcc

Subscribers: klimek, cfe-commits

Differential Revision: http://reviews.llvm.org/D4875

Modified:
    cfe/trunk/include/clang/ASTMatchers/Dynamic/Parser.h
    cfe/trunk/include/clang/ASTMatchers/Dynamic/Registry.h
    cfe/trunk/include/clang/ASTMatchers/Dynamic/VariantValue.h

Modified: cfe/trunk/include/clang/ASTMatchers/Dynamic/Parser.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/ASTMatchers/Dynamic/Parser.h?rev=215476&r1=215475&r2=215476&view=diff
==============================================================================
--- cfe/trunk/include/clang/ASTMatchers/Dynamic/Parser.h (original)
+++ cfe/trunk/include/clang/ASTMatchers/Dynamic/Parser.h Tue Aug 12 16:49:59 2014
@@ -109,7 +109,7 @@ public:
     /// \brief Compute the list of completions that match any of
     /// \p AcceptedTypes.
     ///
-    /// \param All types accepted for this completion.
+    /// \param AcceptedTypes All types accepted for this completion.
     ///
     /// \return All completions for the specified types.
     /// Completions should be valid when used in \c lookupMatcherCtor().

Modified: cfe/trunk/include/clang/ASTMatchers/Dynamic/Registry.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/ASTMatchers/Dynamic/Registry.h?rev=215476&r1=215475&r2=215476&view=diff
==============================================================================
--- cfe/trunk/include/clang/ASTMatchers/Dynamic/Registry.h (original)
+++ cfe/trunk/include/clang/ASTMatchers/Dynamic/Registry.h Tue Aug 12 16:49:59 2014
@@ -81,7 +81,7 @@ public:
   /// \brief Compute the list of completions that match any of
   /// \p AcceptedTypes.
   ///
-  /// \param All types accepted for this completion.
+  /// \param AcceptedTypes All types accepted for this completion.
   ///
   /// \return All completions for the specified types.
   /// Completions should be valid when used in \c lookupMatcherCtor().

Modified: cfe/trunk/include/clang/ASTMatchers/Dynamic/VariantValue.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/ASTMatchers/Dynamic/VariantValue.h?rev=215476&r1=215475&r2=215476&view=diff
==============================================================================
--- cfe/trunk/include/clang/ASTMatchers/Dynamic/VariantValue.h (original)
+++ cfe/trunk/include/clang/ASTMatchers/Dynamic/VariantValue.h Tue Aug 12 16:49:59 2014
@@ -56,7 +56,8 @@ class ArgKind {
   ///
   /// \param To the requested destination type.
   ///
-  /// \param Value corresponding to the "specificity" of the convertion.
+  /// \param Specificity value corresponding to the "specificity" of the
+  ///   convertion.
   bool isConvertibleTo(ArgKind To, unsigned *Specificity) const;
 
   bool operator<(const ArgKind &Other) const {
@@ -166,7 +167,8 @@ public:
   ///
   /// \param Kind the requested destination type.
   ///
-  /// \param Value corresponding to the "specificity" of the convertion.
+  /// \param Specificity value corresponding to the "specificity" of the
+  ///   convertion.
   bool isConvertibleTo(ast_type_traits::ASTNodeKind Kind,
                        unsigned *Specificity) const {
     if (Value)
@@ -290,7 +292,8 @@ public:
   ///
   /// \param Kind the requested destination type.
   ///
-  /// \param Value corresponding to the "specificity" of the convertion.
+  /// \param Specificity value corresponding to the "specificity" of the
+  ///   convertion.
   bool isConvertibleTo(ArgKind Kind, unsigned* Specificity) const;
 
   /// \brief Determines if the contained value can be converted to any kind
@@ -298,8 +301,9 @@ public:
   ///
   /// \param Kinds the requested destination types.
   ///
-  /// \param Value corresponding to the "specificity" of the convertion. It is
-  /// the maximum specificity of all the possible conversions.
+  /// \param Specificity value corresponding to the "specificity" of the
+  ///   convertion. It is the maximum specificity of all the possible
+  ///   conversions.
   bool isConvertibleTo(ArrayRef<ArgKind> Kinds, unsigned *Specificity) const;
 
   /// \brief String representation of the type of the value.





More information about the cfe-commits mailing list