forked from OSchip/llvm-project
Provide out-of-line definition for destructor of Checker.
llvm-svn: 89688
This commit is contained in:
parent
b5b51598ba
commit
b43737387b
|
@ -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) {}
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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() {}
|
Loading…
Reference in New Issue