aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support
diff options
context:
space:
mode:
authorRichard Osborne <richard@xmos.com>2011-06-10 12:28:24 +0000
committerRichard Osborne <richard@xmos.com>2011-06-10 12:28:24 +0000
commitc610017269cf193d6a16f7288c2525d8d3adb566 (patch)
tree3c4e7187c369cc6d67fba0acc4d1a4d845e458d8 /include/llvm/Support
parent5e05deebb9b44e23ec015cdcbccbdb2a2fa6d83b (diff)
downloadexternal_llvm-c610017269cf193d6a16f7288c2525d8d3adb566.zip
external_llvm-c610017269cf193d6a16f7288c2525d8d3adb566.tar.gz
external_llvm-c610017269cf193d6a16f7288c2525d8d3adb566.tar.bz2
Fix example code in comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132844 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support')
-rw-r--r--include/llvm/Support/PassManagerBuilder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/PassManagerBuilder.h b/include/llvm/Support/PassManagerBuilder.h
index 0d690cf..513bb88 100644
--- a/include/llvm/Support/PassManagerBuilder.h
+++ b/include/llvm/Support/PassManagerBuilder.h
@@ -32,8 +32,8 @@ namespace llvm {
/// sequence for languages like C and C++, allowing some APIs to customize the
/// pass sequence in various ways. A simple example of using it would be:
///
-/// OptimizerBuilder Builder;
-/// Builder.setOptimizationLevel(2);
+/// PassManagerBuilder Builder;
+/// Builder.OptLevel = 2;
/// Builder.populateFunctionPassManager(FPM);
/// Builder.populateModulePassManager(MPM);
///