From 0dbb783c7be1756482c491b3635dd07dd5fe712c Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Tue, 27 May 2014 02:45:47 +0000 Subject: [C++11] Use 'nullptr'. StaticAnalyzer edition. llvm-svn: 209642 --- clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp') diff --git a/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp b/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp index e6653ae6e4b..35930e47f82 100644 --- a/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp +++ b/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp @@ -181,7 +181,7 @@ ProgramStateRef SimpleConstraintManager::assumeAux(ProgramStateRef state, case nonloc::ConcreteIntKind: { bool b = Cond.castAs().getValue() != 0; bool isFeasible = b ? Assumption : !Assumption; - return isFeasible ? state : NULL; + return isFeasible ? state : nullptr; } case nonloc::LocAsIntegerKind: -- cgit v1.2.3