1226586Sdim//== Checker.cpp - Registration mechanism for checkers -----------*- C++ -*--=// 2226586Sdim// 3226586Sdim// The LLVM Compiler Infrastructure 4226586Sdim// 5226586Sdim// This file is distributed under the University of Illinois Open Source 6226586Sdim// License. See LICENSE.TXT for details. 7226586Sdim// 8226586Sdim//===----------------------------------------------------------------------===// 9226586Sdim// 10226586Sdim// This file defines Checker, used to create and register checkers. 11226586Sdim// 12226586Sdim//===----------------------------------------------------------------------===// 13226586Sdim 14235633Sdim#include "clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h" 15226586Sdim#include "clang/StaticAnalyzer/Core/Checker.h" 16226586Sdim 17226586Sdimusing namespace clang; 18226586Sdimusing namespace ento; 19226586Sdim 20226586SdimStringRef CheckerBase::getTagDescription() const { 21226586Sdim // FIXME: We want to return the package + name of the checker here. 22226586Sdim return "A Checker"; 23226586Sdim} 24235633Sdim 25235633Sdimvoid Checker<check::_VoidCheck, check::_VoidCheck, check::_VoidCheck, 26235633Sdim check::_VoidCheck, check::_VoidCheck, check::_VoidCheck, 27235633Sdim check::_VoidCheck, check::_VoidCheck, check::_VoidCheck, 28235633Sdim check::_VoidCheck, check::_VoidCheck, check::_VoidCheck, 29235633Sdim check::_VoidCheck, check::_VoidCheck, check::_VoidCheck, 30235633Sdim check::_VoidCheck, check::_VoidCheck, check::_VoidCheck 31235633Sdim >::anchor() { } 32