From: Dale Johannesen Date: Mon, 22 Sep 2008 22:33:34 +0000 (+0000) Subject: Remove a compiler warning. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2165e1288e6665825985b1103f6618805e8fd7fe;p=oota-llvm.git Remove a compiler warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56478 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CompilerDriver/Plugin.h b/include/llvm/CompilerDriver/Plugin.h index bfaabee77bf..03df7494498 100644 --- a/include/llvm/CompilerDriver/Plugin.h +++ b/include/llvm/CompilerDriver/Plugin.h @@ -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 PluginRegistry;