aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-07-25 21:05:39 +0000
committerDevang Patel <dpatel@apple.com>2007-07-25 21:05:39 +0000
commit26e5a309eb24bec7d7177131b5f2730671d84d55 (patch)
treeb937406188e5a805f95f3c3535ad0f45fcfc61f4 /docs
parent0cd320362e91852c8f7f2c8c4841498aab7f92fa (diff)
downloadexternal_llvm-26e5a309eb24bec7d7177131b5f2730671d84d55.zip
external_llvm-26e5a309eb24bec7d7177131b5f2730671d84d55.tar.gz
external_llvm-26e5a309eb24bec7d7177131b5f2730671d84d55.tar.bz2
Fix example code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40493 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/WritingAnLLVMPass.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/WritingAnLLVMPass.html b/docs/WritingAnLLVMPass.html
index c967000..58bea1a 100644
--- a/docs/WritingAnLLVMPass.html
+++ b/docs/WritingAnLLVMPass.html
@@ -320,6 +320,7 @@ argument "<tt>hello</tt>", and a name "<tt>Hello World Pass</tt>".</p>
}
};
+ char Hello::ID = 0;
RegisterPass&lt;Hello&gt; X("<i>hello</i>", "<i>Hello World Pass</i>");
}
</pre></div>