summaryrefslogtreecommitdiff
path: root/lib/AST/StmtViz.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AST/StmtViz.cpp')
-rw-r--r--lib/AST/StmtViz.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/AST/StmtViz.cpp b/lib/AST/StmtViz.cpp
index 1316d3551d91..96b5218ba2f0 100644
--- a/lib/AST/StmtViz.cpp
+++ b/lib/AST/StmtViz.cpp
@@ -31,7 +31,8 @@ void Stmt::viewAST() const {
namespace llvm {
template<>
struct DOTGraphTraits<const Stmt*> : public DefaultDOTGraphTraits {
- static std::string getNodeLabel(const Stmt* Node, const Stmt* Graph) {
+ static std::string getNodeLabel(const Stmt* Node, const Stmt* Graph,
+ bool ShortNames) {
#ifndef NDEBUG
std::string OutSStr;