[llvm-commits] [llvm] r132844 - /llvm/trunk/include/llvm/Support/PassManagerBuilder.h

Richard Osborne richard at xmos.com
Fri Jun 10 05:28:25 PDT 2011


Author: friedgold
Date: Fri Jun 10 07:28:24 2011
New Revision: 132844

URL: http://llvm.org/viewvc/llvm-project?rev=132844&view=rev
Log:
Fix example code in comment.

Modified:
    llvm/trunk/include/llvm/Support/PassManagerBuilder.h

Modified: llvm/trunk/include/llvm/Support/PassManagerBuilder.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/PassManagerBuilder.h?rev=132844&r1=132843&r2=132844&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/PassManagerBuilder.h (original)
+++ llvm/trunk/include/llvm/Support/PassManagerBuilder.h Fri Jun 10 07:28:24 2011
@@ -32,8 +32,8 @@
 /// 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);
 ///





More information about the llvm-commits mailing list