r290547 - Wdocumentation fix

Simon Pilgrim via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 26 10:11:49 PST 2016


Author: rksimon
Date: Mon Dec 26 12:11:49 2016
New Revision: 290547

URL: http://llvm.org/viewvc/llvm-project?rev=290547&view=rev
Log:
Wdocumentation fix

Modified:
    cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp

Modified: cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp?rev=290547&r1=290546&r2=290547&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp (original)
+++ cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp Mon Dec 26 12:11:49 2016
@@ -2196,7 +2196,7 @@ ConvertDeducedTemplateArgument(Sema &S,
         Sema::InstantiatingTemplate Inst(S, Template->getLocation(), Template,
                                          NTTP, Output,
                                          Template->getSourceRange());
-        if (Inst.isInvalid() || 
+        if (Inst.isInvalid() ||
             S.SubstType(NTTP->getType(), Args, NTTP->getLocation(),
                         NTTP->getDeclName()).isNull())
           return true;
@@ -4572,7 +4572,7 @@ UnresolvedSetIterator Sema::getMostSpeci
 /// Determine whether one partial specialization, P1, is at least as
 /// specialized than another, P2.
 ///
-/// \param PartialSpecializationDecl The kind of P2, which must be a
+/// \tparam PartialSpecializationDecl The kind of P2, which must be a
 /// {Class,Var}TemplatePartialSpecializationDecl.
 /// \param T1 The injected-class-name of P1 (faked for a variable template).
 /// \param T2 The injected-class-name of P2 (faked for a variable template).




More information about the cfe-commits mailing list