aboutsummaryrefslogtreecommitdiffstats
path: root/ASTPrinter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ASTPrinter.cpp')
-rw-r--r--ASTPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ASTPrinter.cpp b/ASTPrinter.cpp
index 5bcc46df..d0b27b31 100644
--- a/ASTPrinter.cpp
+++ b/ASTPrinter.cpp
@@ -555,7 +555,7 @@ void ASTPrinter::printSourcePart(ASTNode const& _node)
{
if (!m_source.empty())
{
- Location const& location(_node.getLocation());
+ SourceLocation const& location(_node.getLocation());
*m_ostream << getIndentation() << " Source: "
<< escaped(m_source.substr(location.start, location.end - location.start), false) << endl;
}