[cfe-commits] r158981 - in /cfe/trunk/lib/Sema: SemaAccess.cpp SemaOverload.cpp SemaTemplateDeduction.cpp

Chandler Carruth chandlerc at google.com
Fri Jun 22 01:57:28 PDT 2012


On Fri, Jun 22, 2012 at 1:52 AM, James Dennett <jdennett at google.com> wrote:

> Author: jdennett
> Date: Fri Jun 22 03:52:37 2012
> New Revision: 158981
>
> URL: http://llvm.org/viewvc/llvm-project?rev=158981&view=rev
> Log:
> Diagnostics cleanup: Fixing \params to match the code.
>

s/Diagnostics/Doxygen I assume? ;]



>
> Modified:
>    cfe/trunk/lib/Sema/SemaAccess.cpp
>    cfe/trunk/lib/Sema/SemaOverload.cpp
>    cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp
>
> Modified: cfe/trunk/lib/Sema/SemaAccess.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaAccess.cpp?rev=158981&r1=158980&r2=158981&view=diff
>
> ==============================================================================
> --- cfe/trunk/lib/Sema/SemaAccess.cpp (original)
> +++ cfe/trunk/lib/Sema/SemaAccess.cpp Fri Jun 22 03:52:37 2012
> @@ -1711,13 +1711,10 @@
>
>  /// Checks access for a hierarchy conversion.
>  ///
> -/// \param IsBaseToDerived whether this is a base-to-derived conversion
> (true)
> -///     or a derived-to-base conversion (false)
>  /// \param ForceCheck true if this check should be performed even if
> access
>  ///     control is disabled;  some things rely on this for semantics
>  /// \param ForceUnprivileged true if this check should proceed as if the
>  ///     context had no special privileges
> -/// \param ADK controls the kind of diagnostics that are used
>  Sema::AccessResult Sema::CheckBaseClassAccess(SourceLocation AccessLoc,
>                                               QualType Base,
>                                               QualType Derived,
>
> Modified: cfe/trunk/lib/Sema/SemaOverload.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaOverload.cpp?rev=158981&r1=158980&r2=158981&view=diff
>
> ==============================================================================
> --- cfe/trunk/lib/Sema/SemaOverload.cpp (original)
> +++ cfe/trunk/lib/Sema/SemaOverload.cpp Fri Jun 22 03:52:37 2012
> @@ -5022,29 +5022,9 @@
>  /// \param Loc The source location of the construct that requires the
>  /// conversion.
>  ///
> -/// \param FromE The expression we're converting from.
> +/// \param From The expression we're converting from.
>  ///
> -/// \param NotIntDiag The diagnostic to be emitted if the expression does
> not
> -/// have integral or enumeration type.
> -///
> -/// \param IncompleteDiag The diagnostic to be emitted if the expression
> has
> -/// incomplete class type.
> -///
> -/// \param ExplicitConvDiag The diagnostic to be emitted if we're calling
> an
> -/// explicit conversion function (because no implicit conversion functions
> -/// were available). This is a recovery mode.
> -///
> -/// \param ExplicitConvNote The note to be emitted with \p
> ExplicitConvDiag,
> -/// showing which conversion was picked.
> -///
> -/// \param AmbigDiag The diagnostic to be emitted if there is more than
> one
> -/// conversion function that could convert to integral or enumeration
> type.
> -///
> -/// \param AmbigNote The note to be emitted with \p AmbigDiag for each
> -/// usable conversion function.
> -///
> -/// \param ConvDiag The diagnostic to be emitted if we are calling a
> conversion
> -/// function, which may be an extension in this case.
> +/// \param Diagnoser Used to output any diagnostics.
>  ///
>  /// \param AllowScopedEnumerations Specifies whether conversions to scoped
>  /// enumerations should be considered.
> @@ -9851,7 +9831,7 @@
>  /// \param OpcIn The UnaryOperator::Opcode that describes this
>  /// operator.
>  ///
> -/// \param Functions The set of non-member functions that will be
> +/// \param Fns The set of non-member functions that will be
>  /// considered by overload resolution. The caller needs to build this
>  /// set based on the context using, e.g.,
>  /// LookupOverloadedOperatorName() and ArgumentDependentLookup(). This
> @@ -10051,7 +10031,7 @@
>  /// \param OpcIn The BinaryOperator::Opcode that describes this
>  /// operator.
>  ///
> -/// \param Functions The set of non-member functions that will be
> +/// \param Fns The set of non-member functions that will be
>  /// considered by overload resolution. The caller needs to build this
>  /// set based on the context using, e.g.,
>  /// LookupOverloadedOperatorName() and ArgumentDependentLookup(). This
>
> Modified: cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp?rev=158981&r1=158980&r2=158981&view=diff
>
> ==============================================================================
> --- cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp (original)
> +++ cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp Fri Jun 22 03:52:37 2012
> @@ -2965,7 +2965,7 @@
>  /// \param FunctionTemplate the function template for which we are
> performing
>  /// template argument deduction.
>  ///
> -/// \param ExplicitTemplateArguments the explicit template arguments
> provided
> +/// \param ExplicitTemplateArgs the explicit template arguments provided
>  /// for this call.
>  ///
>  /// \param Args the function call arguments
> @@ -3225,7 +3225,7 @@
>  /// \param FunctionTemplate the function template for which we are
> performing
>  /// template argument deduction.
>  ///
> -/// \param ExplicitTemplateArguments the explicitly-specified template
> +/// \param ExplicitTemplateArgs the explicitly-specified template
>  /// arguments.
>  ///
>  /// \param ArgFunctionType the function type that will be used as the
> @@ -3408,7 +3408,7 @@
>  /// \param FunctionTemplate the function template for which we are
> performing
>  /// template argument deduction.
>  ///
> -/// \param ExplicitTemplateArguments the explicitly-specified template
> +/// \param ExplicitTemplateArgs the explicitly-specified template
>  /// arguments.
>  ///
>  /// \param Specialization if template argument deduction was successful,
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120622/8134312f/attachment.html>


More information about the cfe-commits mailing list