[Lldb-commits] [lldb] r150854 - in	/lldb/trunk/test/functionalities/data-formatter/data-formatter-stl/map:	TestDataFormatterStdMap.py main.cpp
    Enrico Granata 
    granata.enrico at gmail.com
       
    Fri Feb 17 17:14:42 PST 2012
    
    
  
Correct indeed, if you consider 8 as "8th item". Not correct if you consider 8 as "item with key = 8" :) the test is checking that in fact 8 here is used in the second interpretation.
Once the clang fixes to templates debug info go mainstream, it will be necessary to remove error=True from this line. Other than test, the test logic now seems to be right.
On Feb 17, 2012, at 5:03 PM, Eric Christopher wrote:
> 
> On Feb 17, 2012, at 4:29 PM, Enrico Granata <granata.enrico at gmail.com> wrote:
> 
>> +        self.expect("expression ii[8]", matching=False, error=True,
>> +                    substrs = ['1234567'])
>> 
> 
> si[8] I would understand since there's no way we'd have the debug information for that, but we've still got ii[8]...
> 
> Thoughts?
> 
> -eric
    
    
More information about the lldb-commits
mailing list