[llvm-commits] [llvm] r78627 - /llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.h

Jim Grosbach grosbach at apple.com
Tue Aug 11 08:27:48 PDT 2009


On Aug 11, 2009, at 8:09 AM, Chris Lattner wrote:

> Jim, please use <cstdlib>, thanks.  Is there any way to avoid this  
> #include in the header?
>

Sure thing. Fixed in r78665 by moving the offending bit into the .cpp  
file.

-Jim



> -Chris
>
> On Aug 10, 2009, at 5:20 PM, Jim Grosbach wrote:
>
>> Author: grosbach
>> Date: Mon Aug 10 19:20:00 2009
>> New Revision: 78627
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=78627&view=rev
>> Log:
>> Add stdlib.h
>>
>> Modified:
>>   llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.h
>>
>> Modified: llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.h?rev=78627&r1=78626&r2=78627&view=diff
>>
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> =====================================================================
>> --- llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.h (original)
>> +++ llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.h Mon Aug 10  
>> 19:20:00 2009
>> @@ -16,6 +16,7 @@
>>
>> #include "llvm/CodeGen/MachineConstantPool.h"
>> #include <iosfwd>
>> +#include <stdlib.h>
>>
>> namespace llvm {
>>
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>




More information about the llvm-commits mailing list