diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-02-17 17:39:40 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-02-17 17:39:40 +0000 |
commit | afdfdc05fe8b2442713f0150a5985a9c6d852cee (patch) | |
tree | 08ad36bd1d1452d83caefa4accdd4a9f183c6df3 /lib/AST/DeclTemplate.cpp | |
parent | 2a96bf5e66731bb54dff3e4aadfbbced83377530 (diff) |
Devirtualize DeclaratorDecl::getInnerLocStart() and TagDecl::getInnerLocStart().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125754 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclTemplate.cpp')
-rw-r--r-- | lib/AST/DeclTemplate.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/AST/DeclTemplate.cpp b/lib/AST/DeclTemplate.cpp index 2aa446bcd3..980a373778 100644 --- a/lib/AST/DeclTemplate.cpp +++ b/lib/AST/DeclTemplate.cpp @@ -455,13 +455,6 @@ NonTypeTemplateParmDecl::Create(const ASTContext &C, DeclContext *DC, ExpandedTInfos); } -SourceLocation NonTypeTemplateParmDecl::getInnerLocStart() const { - SourceLocation Start = getTypeSpecStartLoc(); - if (Start.isInvalid()) - Start = getLocation(); - return Start; -} - SourceRange NonTypeTemplateParmDecl::getSourceRange() const { return SourceRange(getOuterLocStart(), getLocation()); } |