diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-11-07 00:55:46 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-11-07 00:55:46 +0000 |
commit | 5717ecba8e7060b7e916d60f474aaead59b52798 (patch) | |
tree | 852914b564c8f6ba518d91848dd755d9953d9ef7 /llvm/examples/Fibonacci/fibonacci.cpp | |
parent | 33e43ca6082597502b23e5f18ff7756c8d54c639 (diff) | |
download | llvm-5717ecba8e7060b7e916d60f474aaead59b52798.zip llvm-5717ecba8e7060b7e916d60f474aaead59b52798.tar.gz llvm-5717ecba8e7060b7e916d60f474aaead59b52798.tar.bz2 |
examples: Remove implicit ilist iterator conversions, NFC
llvm-svn: 252379
Diffstat (limited to 'llvm/examples/Fibonacci/fibonacci.cpp')
-rw-r--r-- | llvm/examples/Fibonacci/fibonacci.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/Fibonacci/fibonacci.cpp b/llvm/examples/Fibonacci/fibonacci.cpp index bb364fd..ecb49eb 100644 --- a/llvm/examples/Fibonacci/fibonacci.cpp +++ b/llvm/examples/Fibonacci/fibonacci.cpp @@ -52,7 +52,7 @@ static Function *CreateFibFunction(Module *M, LLVMContext &Context) { Value *Two = ConstantInt::get(Type::getInt32Ty(Context), 2); // Get pointer to the integer argument of the add1 function... - Argument *ArgX = FibF->arg_begin(); // 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. |