summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtIterator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/AST/StmtIterator.cpp')
-rw-r--r--clang/lib/AST/StmtIterator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/StmtIterator.cpp b/clang/lib/AST/StmtIterator.cpp
index 732756fbec9..861d0908209 100644
--- a/clang/lib/AST/StmtIterator.cpp
+++ b/clang/lib/AST/StmtIterator.cpp
@@ -42,7 +42,7 @@ void StmtIteratorBase::NextVA() {
if (inDeclGroup()) {
if (VarDecl* VD = dyn_cast<VarDecl>(*DGI))
- if (VD->Init)
+ if (VD->hasInit())
return;
NextDecl();
OpenPOWER on IntegriCloud