Plugin::Priority() doesn't need to be pure virtual.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65823 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mikhail Glushenkov 2009-03-02 09:02:01 +00:00
parent f5178ce144
commit 41f36f456b

View 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).