2011-08-13 07:04:46 +08:00
|
|
|
//== Checker.cpp - Registration mechanism for checkers -----------*- 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 Checker, used to create and register checkers.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2012-01-31 10:23:28 +08:00
|
|
|
#include "clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h"
|
2011-08-13 07:04:46 +08:00
|
|
|
#include "clang/StaticAnalyzer/Core/Checker.h"
|
|
|
|
|
|
|
|
using namespace clang;
|
|
|
|
using namespace ento;
|
|
|
|
|
|
|
|
StringRef CheckerBase::getTagDescription() const {
|
|
|
|
// FIXME: We want to return the package + name of the checker here.
|
|
|
|
return "A Checker";
|
|
|
|
}
|
2011-12-20 10:48:34 +08:00
|
|
|
|
|
|
|
void Checker<check::_VoidCheck, check::_VoidCheck, check::_VoidCheck,
|
|
|
|
check::_VoidCheck, check::_VoidCheck, check::_VoidCheck,
|
|
|
|
check::_VoidCheck, check::_VoidCheck, check::_VoidCheck,
|
|
|
|
check::_VoidCheck, check::_VoidCheck, check::_VoidCheck,
|
|
|
|
check::_VoidCheck, check::_VoidCheck, check::_VoidCheck,
|
|
|
|
check::_VoidCheck, check::_VoidCheck, check::_VoidCheck
|
|
|
|
>::anchor() { }
|