aboutsummaryrefslogtreecommitdiff
path: root/tools/llvmc2/plugins/Hello/Hello.cpp
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2008-09-22 20:51:19 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2008-09-22 20:51:19 +0000
commit14ef05937fbf5fb747176710a475fa8a671e4a44 (patch)
treefa085bac24ef1ecc358a4d5f0515d948c2b95c98 /tools/llvmc2/plugins/Hello/Hello.cpp
parent4a1a77c1c9e0992735aa66b75c9e4c75c3b70561 (diff)
Convert llvmc2 plugins to use llvm/Support/Registry.h machinery.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56467 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc2/plugins/Hello/Hello.cpp')
-rw-r--r--tools/llvmc2/plugins/Hello/Hello.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvmc2/plugins/Hello/Hello.cpp b/tools/llvmc2/plugins/Hello/Hello.cpp
index a243dd86f7..eb52d249f0 100644
--- a/tools/llvmc2/plugins/Hello/Hello.cpp
+++ b/tools/llvmc2/plugins/Hello/Hello.cpp
@@ -25,7 +25,7 @@ struct MyPlugin : public llvmc::BasePlugin {
{}
};
-static llvmc::RegisterPlugin<MyPlugin> RP;
+static llvmc::RegisterPlugin<MyPlugin> RP("Hello", "Hello World plugin");
}