diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-11-23 18:53:03 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-11-23 18:53:03 +0000 |
commit | b43737387b00a2f259d96a242fe8c1685566cd6c (patch) | |
tree | c8d6f768df544dd41febc4442feed31d2878a858 | |
parent | b5b51598bad8dbb33857d8521749eab3668f82fd (diff) | |
download | bcm5719-llvm-b43737387b00a2f259d96a242fe8c1685566cd6c.tar.gz bcm5719-llvm-b43737387b00a2f259d96a242fe8c1685566cd6c.zip |
Provide out-of-line definition for destructor of Checker.
llvm-svn: 89688
-rw-r--r-- | clang/include/clang/Analysis/PathSensitive/Checker.h | 2 | ||||
-rw-r--r-- | clang/lib/Analysis/CMakeLists.txt | 1 | ||||
-rw-r--r-- | clang/lib/Analysis/Checker.cpp | 18 |
3 files changed, 20 insertions, 1 deletions
diff --git a/clang/include/clang/Analysis/PathSensitive/Checker.h b/clang/include/clang/Analysis/PathSensitive/Checker.h index bfc431d07ad..1fb92a61dea 100644 --- a/clang/include/clang/Analysis/PathSensitive/Checker.h +++ b/clang/include/clang/Analysis/PathSensitive/Checker.h @@ -162,7 +162,7 @@ private: } public: - virtual ~Checker() {} + virtual ~Checker(); virtual void _PreVisit(CheckerContext &C, const Stmt *S) {} virtual void _PostVisit(CheckerContext &C, const Stmt *S) {} virtual void VisitLocation(CheckerContext &C, const Stmt *S, SVal location) {} diff --git a/clang/lib/Analysis/CMakeLists.txt b/clang/lib/Analysis/CMakeLists.txt index 13ce1fc7dbf..d777eaabac2 100644 --- a/clang/lib/Analysis/CMakeLists.txt +++ b/clang/lib/Analysis/CMakeLists.txt @@ -21,6 +21,7 @@ add_clang_library(clangAnalysis CheckObjCUnusedIVars.cpp CheckSecuritySyntaxOnly.cpp CheckSizeofPointer.cpp + Checker.cpp DereferenceChecker.cpp DivZeroChecker.cpp Environment.cpp diff --git a/clang/lib/Analysis/Checker.cpp b/clang/lib/Analysis/Checker.cpp new file mode 100644 index 00000000000..985b1e0a1d7 --- /dev/null +++ b/clang/lib/Analysis/Checker.cpp @@ -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() {} |