[llvm-commits] [llvm] r89811 - in /llvm/trunk: lib/Target/PowerPC/PPCFrameInfo.h lib/Target/PowerPC/PPCRegisterInfo.cpp test/CodeGen/PowerPC/Frames-alloca.ll test/CodeGen/PowerPC/Frames-large.ll test/CodeGen/PowerPC/Frames-small.ll test/CodeGen/PowerPC/ppc-prologue.ll

Dale Johannesen dalej at apple.com
Tue Nov 24 17:09:12 PST 2009


On Nov 24, 2009, at 4:49 PMPST, Evan Cheng wrote:

> I see compilation warnings:
>
> In file included from PPCRegisterInfo.cpp:20:
> PPCFrameInfo.h: In member function 'virtual const  
> llvm::TargetFrameInfo::SpillSlot*  
> llvm::PPCFrameInfo::getCalleeSavedSpillSlots(unsigned int&) const':
> PPCFrameInfo.h:97: warning: missing braces around initializer for  
> 'const llvm::TargetFrameInfo::SpillSlot'
> PPCFrameInfo.h:100: warning: missing braces around initializer for  
> 'const llvm::TargetFrameInfo::SpillSlot'

Fixed.

I should set up my local builds to warn in the ways that matter, but  
when I configure with
--with-extra-options=-Wall
I get hundreds of them.  What are you using?




More information about the llvm-commits mailing list