[llvm-commits] [llvm] r83324 - /llvm/trunk/lib/Analysis/MallocHelper.cpp
Duncan Sands
baldrick at free.fr
Tue Oct 6 10:21:13 PDT 2009
Hi Chris,
> I think it only makes sense to consider something "builtin" if it
> follows the C standard. You can't define a 'malloc' with a different
> prototype than what the spec indicates (at least without using
> -ffree-standing).
other languages don't have this kind of restriction, so I think it is
best to always check prototypes. Since we are now doing this, I guess
further discussion can wait until someone tries to remove the prototype
checking.
Ciao,
Duncan.
More information about the llvm-commits
mailing list