From 041d10caff48859c0de6d001559a73185f5e0601 Mon Sep 17 00:00:00 2001 From: Serge Pavlov Date: Wed, 10 Jul 2013 04:59:14 +0000 Subject: [PATCH] Fixed comment of Sema::FindInstantiatedDecl. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185997 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaTemplateInstantiateDecl.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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(); -- 2.40.0