/// \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().
/// \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().
///
/// \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 {
///
/// \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)
///
/// \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
///
/// \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.