Plugin::Priority() doesn't need to be pure virtual.
authorMikhail Glushenkov <foldr@codedgers.com>
Mon, 2 Mar 2009 09:02:01 +0000 (09:02 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Mon, 2 Mar 2009 09:02:01 +0000 (09:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65823 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CompilerDriver/Plugin.h

index 5426ac73cd4c9dc8b488845597c389626fc61186..6dc20098014b4177dc4df67b8fb77f2cb9945f17 100644 (file)
@@ -27,7 +27,7 @@ namespace llvmc {
     /// 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).