From 2165e1288e6665825985b1103f6618805e8fd7fe Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Mon, 22 Sep 2008 22:33:34 +0000 Subject: [PATCH] Remove a compiler warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56478 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CompilerDriver/Plugin.h | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.34.1