summaryrefslogtreecommitdiffstats
path: root/clang/AST/StmtDumper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/AST/StmtDumper.cpp')
-rw-r--r--clang/AST/StmtDumper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/AST/StmtDumper.cpp b/clang/AST/StmtDumper.cpp
index 332931b414e..09909d84194 100644
--- a/clang/AST/StmtDumper.cpp
+++ b/clang/AST/StmtDumper.cpp
@@ -225,7 +225,7 @@ void StmtDumper::DumpDeclarator(Decl *D) {
void StmtDumper::VisitDeclStmt(DeclStmt *Node) {
DumpStmt(Node);
fprintf(F, "\n");
- for (Decl *D = Node->getDecl(); D; D = D->getNextDeclarator()) {
+ for (ScopedDecl *D = Node->getDecl(); D; D = D->getNextDeclarator()) {
++IndentLevel;
Indent();
fprintf(F, "%p ", (void*)D);
OpenPOWER on IntegriCloud