summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaOpenMP.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-06-09 02:04:02 +0000
committerCraig Topper <craig.topper@gmail.com>2014-06-09 02:04:02 +0000
commit4b56692e3032a41e3a172905ff9407649cba004e (patch)
tree3af71753bc3cdddd90e73afbc6ef8fc9f78d7b15 /clang/lib/Sema/SemaOpenMP.cpp
parentf61be9c971d20d1f30f5444e525990b78a71d65e (diff)
downloadbcm5719-llvm-4b56692e3032a41e3a172905ff9407649cba004e.tar.gz
bcm5719-llvm-4b56692e3032a41e3a172905ff9407649cba004e.zip
[C++11] Use 'nullptr'.
llvm-svn: 210448
Diffstat (limited to 'clang/lib/Sema/SemaOpenMP.cpp')
-rw-r--r--clang/lib/Sema/SemaOpenMP.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaOpenMP.cpp b/clang/lib/Sema/SemaOpenMP.cpp
index 4ebca79795a..ddedf72684b 100644
--- a/clang/lib/Sema/SemaOpenMP.cpp
+++ b/clang/lib/Sema/SemaOpenMP.cpp
@@ -1032,7 +1032,7 @@ bool OpenMPIterationSpaceChecker::CheckInit(Stmt *S) {
/// variable (which may be the loop variable) if possible.
static const VarDecl *GetInitVarDecl(const Expr *E) {
if (!E)
- return 0;
+ return nullptr;
E = E->IgnoreParenImpCasts();
if (auto *CE = dyn_cast_or_null<CXXConstructExpr>(E))
if (const CXXConstructorDecl *Ctor = CE->getConstructor())
OpenPOWER on IntegriCloud