[analyzer] Refactoring: include/clang/Checker -> include/clang/GR
[clang.git] / include / clang / GR / Checkers / DereferenceChecker.h
bloba84183e7f27f1d36e6380fbe6d9da1a9f29c6d03
1 //== NullDerefChecker.h - Null dereference checker --------------*- 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 defines NullDerefChecker and UndefDerefChecker, two builtin checks
11 // in GRExprEngine that check for null and undefined pointers at loads
12 // and stores.
14 //===----------------------------------------------------------------------===//
16 #ifndef LLVM_CLANG_DEREFCHECKER
17 #define LLVM_CLANG_DEREFCHECKER
19 #include <utility>
21 namespace clang {
23 class GRExprEngine;
24 class ExplodedNode;
26 std::pair<ExplodedNode * const *, ExplodedNode * const *>
27 GetImplicitNullDereferences(GRExprEngine &Eng);
29 } // end clang namespace
31 #endif