[llvm-commits] [llvm] r56478 - /llvm/trunk/include/llvm/CompilerDriver/Plugin.h

Dale Johannesen dalej at apple.com
Mon Sep 22 15:33:34 PDT 2008


Author: johannes
Date: Mon Sep 22 17:33:34 2008
New Revision: 56478

URL: http://llvm.org/viewvc/llvm-project?rev=56478&view=rev
Log:
Remove a compiler warning.


Modified:
    llvm/trunk/include/llvm/CompilerDriver/Plugin.h

Modified: llvm/trunk/include/llvm/CompilerDriver/Plugin.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CompilerDriver/Plugin.h?rev=56478&r1=56477&r2=56478&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CompilerDriver/Plugin.h (original)
+++ llvm/trunk/include/llvm/CompilerDriver/Plugin.h Mon Sep 22 17:33:34 2008
@@ -31,6 +31,9 @@
     /// 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;





More information about the llvm-commits mailing list