diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-06-08 08:38:04 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-06-08 08:38:04 +0000 |
commit | 69186e731ffd95c3d3c2b70d36e306d109c92630 (patch) | |
tree | 49f0a5d5ab913569e3001330c5b277687d522e04 /clang/tools/libclang/IndexBody.cpp | |
parent | 71e07869afdf3c8318c1a0b95a0e32ef4fee2065 (diff) | |
download | bcm5719-llvm-69186e731ffd95c3d3c2b70d36e306d109c92630.tar.gz bcm5719-llvm-69186e731ffd95c3d3c2b70d36e306d109c92630.zip |
[C++11] Use 'nullptr'. Tools edition.
llvm-svn: 210422
Diffstat (limited to 'clang/tools/libclang/IndexBody.cpp')
-rw-r--r-- | clang/tools/libclang/IndexBody.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/libclang/IndexBody.cpp b/clang/tools/libclang/IndexBody.cpp index fbec3d7c017..7dc53a62753 100644 --- a/clang/tools/libclang/IndexBody.cpp +++ b/clang/tools/libclang/IndexBody.cpp @@ -170,7 +170,7 @@ void IndexingContext::indexBody(const Stmt *S, const NamedDecl *Parent, if (!S) return; - if (DC == 0) + if (!DC) DC = Parent->getLexicalDeclContext(); BodyIndexer(*this, Parent, DC).TraverseStmt(const_cast<Stmt*>(S)); } |