diff options
author | Abramo Bagnara <abramo.bagnara@gmail.com> | 2011-03-06 15:48:19 +0000 |
---|---|---|
committer | Abramo Bagnara <abramo.bagnara@gmail.com> | 2011-03-06 15:48:19 +0000 |
commit | 344577e6b58f42d18dc8118c8903b49a85dc005e (patch) | |
tree | efe06d72a51645984be3a25393915031a52f2e47 /lib/Sema/SemaTemplate.cpp | |
parent | 8b5b4099c61a136e9a1714c4d8a593febe942268 (diff) |
Fixed TypedefDecl and TemplateTypeParameter source range.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127119 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaTemplate.cpp')
-rw-r--r-- | lib/Sema/SemaTemplate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Sema/SemaTemplate.cpp b/lib/Sema/SemaTemplate.cpp index 990fc228b3..e60a1c418b 100644 --- a/lib/Sema/SemaTemplate.cpp +++ b/lib/Sema/SemaTemplate.cpp @@ -525,8 +525,8 @@ Decl *Sema::ActOnTypeParameter(Scope *S, bool Typename, bool Ellipsis, TemplateTypeParmDecl *Param = TemplateTypeParmDecl::Create(Context, Context.getTranslationUnitDecl(), - Loc, Depth, Position, ParamName, Typename, - Ellipsis); + KeyLoc, Loc, Depth, Position, ParamName, + Typename, Ellipsis); Param->setAccess(AS_public); if (Invalid) Param->setInvalidDecl(); |