Skip to content

Commit

Permalink
Stop using abegin.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20609 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
alkis committed Mar 15, 2005
1 parent 5a1c58d commit dadf881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/Fibonacci/fibonacci.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static Function *CreateFibFunction(Module *M) {
Value *Two = ConstantSInt::get(Type::IntTy, 2);

// Get pointer to the integer argument of the add1 function...
Argument *ArgX = FibF->abegin(); // Get the arg.
Argument *ArgX = FibF->arg_begin(); // Get the arg.
ArgX->setName("AnArg"); // Give it a nice symbolic name for fun.

// Create the true_block.
Expand Down

0 comments on commit dadf881

Please sign in to comment.