summaryrefslogtreecommitdiffstats
path: root/lib/StaticAnalyzer/Checkers/ExperimentalChecks.cpp
blob: 990ba1c02b9487187eb71468a49b0e4c59066f64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//=-- ExperimentalChecks.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 ExprEngine.
//
//===----------------------------------------------------------------------===//

#include "InternalChecks.h"
#include "ExperimentalChecks.h"
#include "clang/StaticAnalyzer/Checkers/LocalCheckers.h"

using namespace clang;
using namespace ento;

void ento::RegisterExperimentalChecks(ExprEngine &Eng) {
  // These are checks that never belong as internal checks
  // within ExprEngine.
  RegisterMallocChecker(Eng); // ArrayBoundChecker depends on this.
}
OpenPOWER on IntegriCloud