[llvm-commits] [llvm] r65823 - /llvm/trunk/include/llvm/CompilerDriver/Plugin.h
Mikhail Glushenkov
foldr at codedgers.com
Mon Mar 2 01:02:01 PST 2009
Author: foldr
Date: Mon Mar 2 03:02:01 2009
New Revision: 65823
URL: http://llvm.org/viewvc/llvm-project?rev=65823&view=rev
Log:
Plugin::Priority() doesn't need to be pure virtual.
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=65823&r1=65822&r2=65823&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CompilerDriver/Plugin.h (original)
+++ llvm/trunk/include/llvm/CompilerDriver/Plugin.h Mon Mar 2 03:02:01 2009
@@ -27,7 +27,7 @@
/// Priority - Plugin priority, useful for handling dependencies
/// between plugins. Plugins with lower priorities are loaded
/// first.
- virtual int Priority() const = 0;
+ virtual int Priority() const { return 0; }
/// PopulateLanguageMap - The auto-generated function that fills in
/// the language map (map from file extensions to language names).
More information about the llvm-commits
mailing list