Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Code Inspection Bug
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pwc
Tomato Guru

138 Posts

Posted - Dec 27 2017 :  11:38:42 AM  Show Profile  Reply with Quote
Hello,

CI gets tripped up on:

std::vector<int> v;
if(v.size() % 3)
{ }

Says you should use empty() instead of size() to check emptiness - but we aren't checking for empty here.

This is with build 2248, VS2017 15.5.

Thanks.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Dec 27 2017 :  4:25:57 PM  Show Profile  Reply with Quote
I am seeing the same effect here. I've added your testcase to

case=112036

Thank you for the feedback we appreciate it.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000