[cfe-commits] r99806 - in /cfe/trunk: lib/AST/DeclCXX.cpp test/SemaCXX/warn-reorder-ctor-initialization.cpp

Anders Carlsson andersca at mac.com
Tue Mar 30 20:15:13 PDT 2010


30 mar 2010 kl. 20.13 skrev Daniel Dunbar:
>> 
>> +  // The set of seen virtual base types.
>> +  llvm::SmallPtrSet<QualType, 8> SeenVBaseTypes;
>> +
>> +  // The virtual bases of this class.
>> +  llvm::SmallVector<const CXXBaseSpecifier *, 8> VBases;
> 
> Can this use llvm::SetVector?
> 
> - Daniel
> 

Unfortunately not, because we want to unique the types based on the type, not the base specifier.

Anders

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100330/282739b0/attachment.html>


More information about the cfe-commits mailing list