Remove a compiler warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56478 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dale Johannesen 2008-09-22 22:33:34 +00:00
parent f3ba70861c
commit 2165e1288e

View File

@ -31,6 +31,9 @@ namespace llvmc {
/// PopulateCompilationGraph - The auto-generated function that
/// populates the compilation graph with nodes and edges.
virtual void PopulateCompilationGraph(CompilationGraph&) const = 0;
/// Needed to avoid a compiler warning.
virtual ~BasePlugin() {};
};
typedef llvm::Registry<BasePlugin> PluginRegistry;