diff options
author | Dale Johannesen <dalej@apple.com> | 2008-09-22 22:33:34 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2008-09-22 22:33:34 +0000 |
commit | 8f8466dc426263e6f2c257772a98670c2dca50b1 (patch) | |
tree | 399fdc409181264275a0eb8b40044d2e696fbf15 | |
parent | 329fe728b53e460d3d82ab8b7d1c69f5d9653173 (diff) | |
download | bcm5719-llvm-8f8466dc426263e6f2c257772a98670c2dca50b1.tar.gz bcm5719-llvm-8f8466dc426263e6f2c257772a98670c2dca50b1.zip |
Remove a compiler warning.
llvm-svn: 56478
-rw-r--r-- | llvm/include/llvm/CompilerDriver/Plugin.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm/CompilerDriver/Plugin.h b/llvm/include/llvm/CompilerDriver/Plugin.h index bfaabee77bf..03df7494498 100644 --- a/llvm/include/llvm/CompilerDriver/Plugin.h +++ b/llvm/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<BasePlugin> PluginRegistry; |