[llvm-commits] [llvm] r64352 - /llvm/trunk/lib/Transforms/Scalar/SimplifyLibCalls.cpp

Duncan Sands baldrick at free.fr
Thu Feb 12 00:49:36 PST 2009


Hi Nick,

> Don't mark all args to strtod and friends as nocapture.

I just discovered endptr:

"If  endptr  is  not  NULL, a pointer to the character after the last character
used in the conversion is stored in the location referenced by endptr".

So you are right: these can capture the first argument.  Sorry for the noise.

Ciao,

Duncan.



More information about the llvm-commits mailing list