aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-08-28 00:45:38 +0000
committerChris Lattner <sabre@nondot.org>2006-08-28 00:45:38 +0000
commitdc87725902736ee4a843ee70a46627ea4abcc235 (patch)
treebd94104ef3d31f66577f8677e61fdb890805b09d /docs
parenta5370172b64bed5daf8e2869d7bf7cb52f80d6b7 (diff)
downloadexternal_llvm-dc87725902736ee4a843ee70a46627ea4abcc235.zip
external_llvm-dc87725902736ee4a843ee70a46627ea4abcc235.tar.gz
external_llvm-dc87725902736ee4a843ee70a46627ea4abcc235.tar.bz2
Update to match changes in RegisterAnalysisGroup usage
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29933 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/WritingAnLLVMPass.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/WritingAnLLVMPass.html b/docs/WritingAnLLVMPass.html
index 2e7abf4..d30960d 100644
--- a/docs/WritingAnLLVMPass.html
+++ b/docs/WritingAnLLVMPass.html
@@ -1162,7 +1162,7 @@ implementations of the interface by using the following code:</p>
B("<i>somefancyaa</i>", "<i>A more complex alias analysis implementation</i>");
//<i> Declare that we implement the AliasAnalysis interface</i>
- RegisterAnalysisGroup&lt;<a href="http://llvm.org/doxygen/classllvm_1_1AliasAnalysis.html">AliasAnalysis</a>, FancyAA&gt; C;
+ RegisterAnalysisGroup&lt;<a href="http://llvm.org/doxygen/classllvm_1_1AliasAnalysis.html">AliasAnalysis</a>&gt; C(B);
}
</pre></div>
@@ -1180,7 +1180,7 @@ no problem.</p>
D("<i>basicaa</i>", "<i>Basic Alias Analysis (default AA impl)</i>");
//<i> Declare that we implement the AliasAnalysis interface</i>
- RegisterAnalysisGroup&lt;<a href="http://llvm.org/doxygen/classllvm_1_1AliasAnalysis.html">AliasAnalysis</a>, <a href="http://llvm.org/doxygen/structBasicAliasAnalysis.html">BasicAliasAnalysis</a>, <b>true</b>&gt; E;
+ RegisterAnalysisGroup&lt;<a href="http://llvm.org/doxygen/classllvm_1_1AliasAnalysis.html">AliasAnalysis</a>, <b>true</b>&gt; E(D);
}
</pre></div>