commit fe1232cd1341860eb0b5a56aa98fb8cb95052e89
parent cc24085bd5bbadd2f552e3d8965693a5809c1871
Author: Kyle Milz <kyle@0x30.net>
Date: Thu, 11 Aug 2016 21:35:37 -0600
src: remove uneeded object
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/inst_visitor.cc b/src/inst_visitor.cc
@@ -168,5 +168,5 @@ clang::SourceLocation
RewriteASTVisitor::real_loc_end(clang::Stmt *d)
{
clang::SourceLocation _e(d->getLocEnd());
- return clang::SourceLocation(clang::Lexer::getLocForEndOfToken(_e, 0, m_SM, m_lopt));
+ return clang::Lexer::getLocForEndOfToken(_e, 0, m_SM, m_lopt);
}