Remove a compiler warning.
authorDale Johannesen <dalej@apple.com>
Mon, 22 Sep 2008 22:33:34 +0000 (22:33 +0000)
committerDale Johannesen <dalej@apple.com>
Mon, 22 Sep 2008 22:33:34 +0000 (22:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56478 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CompilerDriver/Plugin.h

index bfaabee77bf36a67a49382b78123524f95a03f5a..03df74944982225c9a7c29bff518994928121481 100644 (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;