summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaTemplate.cpp
diff options
context:
space:
mode:
authorAbramo Bagnara <abramo.bagnara@gmail.com>2010-06-16 14:59:30 +0000
committerAbramo Bagnara <abramo.bagnara@gmail.com>2010-06-16 14:59:30 +0000
commitbec18dbb880e51668c5277e0b1e7b878aa6d267b (patch)
treee99eb4ab4ce9864b5ebdc5f8869db07b707b2619 /clang/lib/Sema/SemaTemplate.cpp
parentbe829868e1846179135ff394acba4ef29b0b44d7 (diff)
downloadbcm5719-llvm-bec18dbb880e51668c5277e0b1e7b878aa6d267b.tar.gz
bcm5719-llvm-bec18dbb880e51668c5277e0b1e7b878aa6d267b.zip
Added TemplateTypeParmType::getDecl().
llvm-svn: 106099
Diffstat (limited to 'clang/lib/Sema/SemaTemplate.cpp')
-rw-r--r--clang/lib/Sema/SemaTemplate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaTemplate.cpp b/clang/lib/Sema/SemaTemplate.cpp
index f5f4853fb0f..68431290023 100644
--- a/clang/lib/Sema/SemaTemplate.cpp
+++ b/clang/lib/Sema/SemaTemplate.cpp
@@ -450,7 +450,7 @@ void Sema::translateTemplateArguments(const ASTTemplateArgsPtr &TemplateArgsIn,
/// (otherwise, "class" was used), and KeyLoc is the location of the
/// "class" or "typename" keyword. ParamName is the name of the
/// parameter (NULL indicates an unnamed template parameter) and
-/// ParamName is the location of the parameter name (if any).
+/// ParamNameLoc is the location of the parameter name (if any).
/// If the type parameter has a default argument, it will be added
/// later via ActOnTypeParameterDefault.
Sema::DeclPtrTy Sema::ActOnTypeParameter(Scope *S, bool Typename, bool Ellipsis,
OpenPOWER on IntegriCloud