Provide out-of-line definition for destructor of Checker.

llvm-svn: 89688
This commit is contained in:
Ted Kremenek 2009-11-23 18:53:03 +00:00
parent b5b51598ba
commit b43737387b
3 changed files with 20 additions and 1 deletions

View File

@ -162,7 +162,7 @@ private:
} }
public: public:
virtual ~Checker() {} virtual ~Checker();
virtual void _PreVisit(CheckerContext &C, const Stmt *S) {} virtual void _PreVisit(CheckerContext &C, const Stmt *S) {}
virtual void _PostVisit(CheckerContext &C, const Stmt *S) {} virtual void _PostVisit(CheckerContext &C, const Stmt *S) {}
virtual void VisitLocation(CheckerContext &C, const Stmt *S, SVal location) {} virtual void VisitLocation(CheckerContext &C, const Stmt *S, SVal location) {}

View File

@ -21,6 +21,7 @@ add_clang_library(clangAnalysis
CheckObjCUnusedIVars.cpp CheckObjCUnusedIVars.cpp
CheckSecuritySyntaxOnly.cpp CheckSecuritySyntaxOnly.cpp
CheckSizeofPointer.cpp CheckSizeofPointer.cpp
Checker.cpp
DereferenceChecker.cpp DereferenceChecker.cpp
DivZeroChecker.cpp DivZeroChecker.cpp
Environment.cpp Environment.cpp

View File

@ -0,0 +1,18 @@
//== Checker.h - Abstract interface 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 and CheckerVisitor, classes used for creating
// domain-specific checks.
//
//===----------------------------------------------------------------------===//
#include "clang/Analysis/PathSensitive/Checker.h"
using namespace clang;
Checker::~Checker() {}