From: Samuel Benzaquen Date: Tue, 12 Aug 2014 21:49:59 +0000 (+0000) Subject: Fix the \param comments to have the parameter name. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fc064f81189a42025332a4dafab3ad8492e39ba4;p=clang 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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215476 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/ASTMatchers/Dynamic/Parser.h b/include/clang/ASTMatchers/Dynamic/Parser.h index 6f6b4130f0..716b906acc 100644 --- a/include/clang/ASTMatchers/Dynamic/Parser.h +++ b/include/clang/ASTMatchers/Dynamic/Parser.h @@ -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(). diff --git a/include/clang/ASTMatchers/Dynamic/Registry.h b/include/clang/ASTMatchers/Dynamic/Registry.h index 3551622f66..4941360c82 100644 --- a/include/clang/ASTMatchers/Dynamic/Registry.h +++ b/include/clang/ASTMatchers/Dynamic/Registry.h @@ -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(). diff --git a/include/clang/ASTMatchers/Dynamic/VariantValue.h b/include/clang/ASTMatchers/Dynamic/VariantValue.h index baee72ccf4..8b38ec8e59 100644 --- a/include/clang/ASTMatchers/Dynamic/VariantValue.h +++ b/include/clang/ASTMatchers/Dynamic/VariantValue.h @@ -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 Kinds, unsigned *Specificity) const; /// \brief String representation of the type of the value.