2009-11-06 10:24:13 +08:00
|
|
|
//=-- GRExprEngineInternalChecks.h- Builtin GRExprEngine Checks -----*- C++ -*-=
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file defines functions to instantiate and register the "built-in"
|
|
|
|
// checks in GRExprEngine.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef LLVM_CLANG_GREXPRENGINE_INTERNAL_CHECKS
|
|
|
|
#define LLVM_CLANG_GREXPRENGINE_INTERNAL_CHECKS
|
|
|
|
|
|
|
|
namespace clang {
|
|
|
|
|
|
|
|
class GRExprEngine;
|
|
|
|
|
2009-11-07 04:47:51 +08:00
|
|
|
void RegisterDivZeroChecker(GRExprEngine &Eng);
|
2009-11-06 21:30:44 +08:00
|
|
|
void RegisterReturnPointerRangeChecker(GRExprEngine &Eng);
|
2009-11-07 04:47:51 +08:00
|
|
|
void RegisterReturnStackAddressChecker(GRExprEngine &Eng);
|
|
|
|
void RegisterReturnUndefChecker(GRExprEngine &Eng);
|
2009-11-07 05:51:50 +08:00
|
|
|
void RegisterVLASizeChecker(GRExprEngine &Eng);
|
2009-11-06 10:24:13 +08:00
|
|
|
|
|
|
|
} // end clang namespace
|
|
|
|
#endif
|