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 | 2165e1288e6665825985b1103f6618805e8fd7fe (patch) | |
tree | b92ae5b2a48798bd1d8a911bca42130d1085ce06 | |
parent | f3ba70861ccf00b1072ae1b6ade3ebe2da6cff40 (diff) |
Remove a compiler warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56478 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CompilerDriver/Plugin.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/CompilerDriver/Plugin.h b/include/llvm/CompilerDriver/Plugin.h index bfaabee77b..03df749449 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<BasePlugin> PluginRegistry; |