[cfe-dev] Inconsistent use of size_t in SmallVector.h

Will Wilson will at indefiant.com
Mon Jun 4 14:14:16 PDT 2012


Hi All,

Just a quick question regarding SmallVector.h: It seems the interfaces
use a mixture of size_t, size_type and unsigned.  Building on Win64
this causes numerous implicit conversion warnings when accessing
anything by index. Is there any design/performance reason for this or
can it be changed so the interfaces in question make consistant use
size_type (currently typedef'd to size_t)?

- Will.



More information about the cfe-dev mailing list