summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Benzaquen <sbenza@google.com>2014-08-12 21:49:59 +0000
committerSamuel Benzaquen <sbenza@google.com>2014-08-12 21:49:59 +0000
commit788674f96469aa977ef3f070cb039dbf845351a1 (patch)
treebd4a4bee5514f52c7f258e7f9454be42a785e5f2
parentbc766681429053cccb147f180ef2fb17cce1ca5d (diff)
downloadbcm5719-llvm-788674f96469aa977ef3f070cb039dbf845351a1.tar.gz
bcm5719-llvm-788674f96469aa977ef3f070cb039dbf845351a1.zip
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 llvm-svn: 215476
-rw-r--r--clang/include/clang/ASTMatchers/Dynamic/Parser.h2
-rw-r--r--clang/include/clang/ASTMatchers/Dynamic/Registry.h2
-rw-r--r--clang/include/clang/ASTMatchers/Dynamic/VariantValue.h14
3 files changed, 11 insertions, 7 deletions
diff --git a/clang/include/clang/ASTMatchers/Dynamic/Parser.h b/clang/include/clang/ASTMatchers/Dynamic/Parser.h
index 6f6b4130f00..716b906acca 100644
--- a/clang/include/clang/ASTMatchers/Dynamic/Parser.h
+++ b/clang/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/clang/include/clang/ASTMatchers/Dynamic/Registry.h b/clang/include/clang/ASTMatchers/Dynamic/Registry.h
index 3551622f66d..4941360c822 100644
--- a/clang/include/clang/ASTMatchers/Dynamic/Registry.h
+++ b/clang/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/clang/include/clang/ASTMatchers/Dynamic/VariantValue.h b/clang/include/clang/ASTMatchers/Dynamic/VariantValue.h
index baee72ccf4b..8b38ec8e595 100644
--- a/clang/include/clang/ASTMatchers/Dynamic/VariantValue.h
+++ b/clang/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<ArgKind> Kinds, unsigned *Specificity) const;
/// \brief String representation of the type of the value.
OpenPOWER on IntegriCloud