Ted Kremenek | 1053d24 | 2009-11-06 02:24:13 +0000 | [diff] [blame] | 1 | //=-- GRExprEngineInternalChecks.h- Builtin GRExprEngine Checks -----*- C++ -*-= |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This file defines functions to instantiate and register the "built-in" |
| 11 | // checks in GRExprEngine. |
| 12 | // |
| 13 | //===----------------------------------------------------------------------===// |
| 14 | |
| 15 | #ifndef LLVM_CLANG_GREXPRENGINE_INTERNAL_CHECKS |
| 16 | #define LLVM_CLANG_GREXPRENGINE_INTERNAL_CHECKS |
| 17 | |
| 18 | namespace clang { |
| 19 | |
| 20 | class GRExprEngine; |
| 21 | |
Ted Kremenek | b4b817d | 2009-11-11 03:26:34 +0000 | [diff] [blame^] | 22 | void RegisterDereferenceChecker(GRExprEngine &Eng); |
Ted Kremenek | 36df58a | 2009-11-06 20:47:51 +0000 | [diff] [blame] | 23 | void RegisterDivZeroChecker(GRExprEngine &Eng); |
Zhongxing Xu | ceeb02d | 2009-11-06 13:30:44 +0000 | [diff] [blame] | 24 | void RegisterReturnPointerRangeChecker(GRExprEngine &Eng); |
Ted Kremenek | 36df58a | 2009-11-06 20:47:51 +0000 | [diff] [blame] | 25 | void RegisterReturnStackAddressChecker(GRExprEngine &Eng); |
| 26 | void RegisterReturnUndefChecker(GRExprEngine &Eng); |
Ted Kremenek | 84b3595 | 2009-11-06 21:51:50 +0000 | [diff] [blame] | 27 | void RegisterVLASizeChecker(GRExprEngine &Eng); |
Zhongxing Xu | b10a7c2 | 2009-11-09 06:52:44 +0000 | [diff] [blame] | 28 | void RegisterPointerSubChecker(GRExprEngine &Eng); |
Zhongxing Xu | ede7eb2 | 2009-11-09 13:23:31 +0000 | [diff] [blame] | 29 | void RegisterPointerArithChecker(GRExprEngine &Eng); |
Zhongxing Xu | b10a7c2 | 2009-11-09 06:52:44 +0000 | [diff] [blame] | 30 | void RegisterFixedAddressChecker(GRExprEngine &Eng); |
Zhongxing Xu | 4f3dc69 | 2009-11-09 08:07:38 +0000 | [diff] [blame] | 31 | void RegisterCastToStructChecker(GRExprEngine &Eng); |
Ted Kremenek | b4b817d | 2009-11-11 03:26:34 +0000 | [diff] [blame^] | 32 | |
Ted Kremenek | 1053d24 | 2009-11-06 02:24:13 +0000 | [diff] [blame] | 33 | } // end clang namespace |
| 34 | #endif |