From: Richard Osborne Date: Fri, 10 Jun 2011 12:28:24 +0000 (+0000) Subject: Fix example code in comment. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c610017269cf193d6a16f7288c2525d8d3adb566;p=oota-llvm.git Fix example code in comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132844 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/PassManagerBuilder.h b/include/llvm/Support/PassManagerBuilder.h index 0d690cfe297..513bb887a04 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); ///