From: Serge Pavlov Date: Wed, 10 Jul 2013 04:59:14 +0000 (+0000) Subject: Fixed comment of Sema::FindInstantiatedDecl. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=041d10caff48859c0de6d001559a73185f5e0601;p=clang Fixed comment of Sema::FindInstantiatedDecl. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185997 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaTemplateInstantiateDecl.cpp b/lib/Sema/SemaTemplateInstantiateDecl.cpp index df38615532..b5a80d3f6a 100644 --- a/lib/Sema/SemaTemplateInstantiateDecl.cpp +++ b/lib/Sema/SemaTemplateInstantiateDecl.cpp @@ -3567,11 +3567,11 @@ DeclContext *Sema::FindInstantiatedContext(SourceLocation Loc, DeclContext* DC, /// template struct X; /// \endcode /// -/// In the instantiation of X::getKind(), we need to map the -/// EnumConstantDecl for KnownValue (which refers to -/// X::\\::KnownValue) to its instantiation -/// (X::\\::KnownValue). InstantiateCurrentDeclRef() performs -/// this mapping from within the instantiation of X. +/// In the instantiation of X::getKind(), we need to map the +/// \p EnumConstantDecl for \p KnownValue (which refers to +/// X::::KnownValue) to its instantiation +/// (X::::KnownValue). \p FindInstantiatedDecl performs +/// this mapping from within the instantiation of X. NamedDecl *Sema::FindInstantiatedDecl(SourceLocation Loc, NamedDecl *D, const MultiLevelTemplateArgumentList &TemplateArgs) { DeclContext *ParentDC = D->getDeclContext();