- Added checks for static local variables, self assigned parameters, and truncating/extending self assignments - Removed command line option (now default with --analyze) - Updated test cases to pass with idempotent operation warnings llvm-svn: 108550
29 lines
902 B
C++
29 lines
902 B
C++
//=-- GRExprEngineExperimentalChecks.h ------------------------------*- 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 experimental
|
|
// checks in GRExprEngine.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_CLANG_GREXPRENGINE_EXPERIMENTAL_CHECKS
|
|
#define LLVM_CLANG_GREXPRENGINE_EXPERIMENTAL_CHECKS
|
|
|
|
namespace clang {
|
|
|
|
class GRExprEngine;
|
|
|
|
void RegisterCStringChecker(GRExprEngine &Eng);
|
|
void RegisterPthreadLockChecker(GRExprEngine &Eng);
|
|
void RegisterMallocChecker(GRExprEngine &Eng);
|
|
void RegisterStreamChecker(GRExprEngine &Eng);
|
|
|
|
} // end clang namespace
|
|
#endif
|