commit | 69186e731ffd95c3d3c2b70d36e306d109c92630 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@gmail.com> | Sun Jun 08 08:38:04 2014 +0000 |
committer | Craig Topper <craig.topper@gmail.com> | Sun Jun 08 08:38:04 2014 +0000 |
tree | 49f0a5d5ab913569e3001330c5b277687d522e04 | |
parent | 71e07869afdf3c8318c1a0b95a0e32ef4fee2065 [diff] [blame] |
[C++11] Use 'nullptr'. Tools edition. llvm-svn: 210422
diff --git a/clang/tools/libclang/IndexBody.cpp b/clang/tools/libclang/IndexBody.cpp index fbec3d7..7dc53a62 100644 --- a/clang/tools/libclang/IndexBody.cpp +++ b/clang/tools/libclang/IndexBody.cpp
@@ -170,7 +170,7 @@ if (!S) return; - if (DC == 0) + if (!DC) DC = Parent->getLexicalDeclContext(); BodyIndexer(*this, Parent, DC).TraverseStmt(const_cast<Stmt*>(S)); }