diff options
author | Abramo Bagnara <abramo.bagnara@gmail.com> | 2011-03-06 16:09:14 +0000 |
---|---|---|
committer | Abramo Bagnara <abramo.bagnara@gmail.com> | 2011-03-06 16:09:14 +0000 |
commit | a868c3799b739781db325c1bd2c6afd182bc9bd6 (patch) | |
tree | 22d7a5bcd61fa114190439eefc396c50c838398f /lib/Sema/SemaDecl.cpp | |
parent | 344577e6b58f42d18dc8118c8903b49a85dc005e (diff) |
Completed source ranges fixes for all classes inheriting from TypeDecl.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127120 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
-rw-r--r-- | lib/Sema/SemaDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index a2f23e83e4..20e9be023a 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp @@ -6649,7 +6649,7 @@ void Sema::ActOnStartCXXMemberDeclarations(Scope *S, Decl *TagD, = CXXRecordDecl::Create(Context, Record->getTagKind(), CurContext, Record->getLocation(), Record->getIdentifier(), - Record->getTagKeywordLoc(), + Record->getLocStart(), /*PrevDecl=*/0, /*DelayTypeCreation=*/true); Context.getTypeDeclType(InjectedClassName, Record); |