From c610017269cf193d6a16f7288c2525d8d3adb566 Mon Sep 17 00:00:00 2001 From: Richard Osborne Date: Fri, 10 Jun 2011 12:28:24 +0000 Subject: [PATCH] Fix example code in comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132844 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/PassManagerBuilder.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); /// -- 2.34.1