projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3ba708
)
Remove a compiler warning.
author
Dale Johannesen
<dalej@apple.com>
Mon, 22 Sep 2008 22:33:34 +0000
(22:33 +0000)
committer
Dale 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
patch
|
blob
|
history
diff --git
a/include/llvm/CompilerDriver/Plugin.h
b/include/llvm/CompilerDriver/Plugin.h
index bfaabee77bf36a67a49382b78123524f95a03f5a..03df74944982225c9a7c29bff518994928121481 100644
(file)
--- 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;