[PATCH] Fix the \param comments to have the parameter name.
Samuel Benzaquen
sbenza at google.com
Tue Aug 12 14:49:37 PDT 2014
Hi pcc,
This fixes the build break introduced in rL215472
http://reviews.llvm.org/D4875
Files:
include/clang/ASTMatchers/Dynamic/Parser.h
include/clang/ASTMatchers/Dynamic/Registry.h
include/clang/ASTMatchers/Dynamic/VariantValue.h
Index: include/clang/ASTMatchers/Dynamic/Parser.h
===================================================================
--- include/clang/ASTMatchers/Dynamic/Parser.h
+++ include/clang/ASTMatchers/Dynamic/Parser.h
@@ -109,7 +109,7 @@
/// \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().
Index: include/clang/ASTMatchers/Dynamic/Registry.h
===================================================================
--- include/clang/ASTMatchers/Dynamic/Registry.h
+++ include/clang/ASTMatchers/Dynamic/Registry.h
@@ -81,7 +81,7 @@
/// \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().
Index: include/clang/ASTMatchers/Dynamic/VariantValue.h
===================================================================
--- include/clang/ASTMatchers/Dynamic/VariantValue.h
+++ include/clang/ASTMatchers/Dynamic/VariantValue.h
@@ -56,7 +56,8 @@
///
/// \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 @@
///
/// \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,16 +292,18 @@
///
/// \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
/// in \p Kinds.
///
/// \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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4875.12419.patch
Type: text/x-patch
Size: 3114 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140812/9b2a38a2/attachment.bin>
More information about the cfe-commits
mailing list