What is //NOLINT?


 
using namespace caffe; // NOLINT (build/namespace) 


I am a total beginner trying to understand this code. What does NOLINT do, exactly? I found online that it 'flags for false positives and negatives', could someone elaborate please?
That's a comment. In this case, it's a comment designed to be read by a static analysis tool to tell it to shut up about this line.

I'd guess that the tool being used complains about this line of code, for whatever reason, and whoever wrote this code didn't like that the tool was complaining about this line of code, so put this comment here to make it shut up.

Topic archived. No new replies allowed.