diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-09-18 23:09:54 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-09-18 23:09:54 +0000 |
commit | 7360fda1efd88fd28ca2882579676dbd8569c181 (patch) | |
tree | 923c21a0fa78f3ce6a44f56489f01e5e8c29adaf /include/clang/Analysis/PathSensitive/BasicValueFactory.h | |
parent | 644f5fc35c9d093b2ae1e8f43cf5a70680b5945a (diff) |
Implement second part of PR 2600: NSError** parameter may be null, and should be checked before being dereferenced.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56318 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Analysis/PathSensitive/BasicValueFactory.h')
-rw-r--r-- | include/clang/Analysis/PathSensitive/BasicValueFactory.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Analysis/PathSensitive/BasicValueFactory.h b/include/clang/Analysis/PathSensitive/BasicValueFactory.h index c3729ed53e..29957a7996 100644 --- a/include/clang/Analysis/PathSensitive/BasicValueFactory.h +++ b/include/clang/Analysis/PathSensitive/BasicValueFactory.h @@ -77,6 +77,8 @@ public: const std::pair<RVal, RVal>& getPersistentRValPair(const RVal& V1, const RVal& V2); + + const RVal* getPersistentRVal(RVal X); }; } // end clang namespace |