aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/ParentMap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/AST/ParentMap.h')
-rw-r--r--include/clang/AST/ParentMap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/AST/ParentMap.h b/include/clang/AST/ParentMap.h
index bd2ebf5dbedb..eece8510e9c4 100644
--- a/include/clang/AST/ParentMap.h
+++ b/include/clang/AST/ParentMap.h
@@ -53,7 +53,7 @@ public:
}
bool hasParent(Stmt* S) const {
- return getParent(S) != 0;
+ return getParent(S) != nullptr;
}
bool isConsumedExpr(Expr *E) const;