This is an archive of the discontinued LLVM Phabricator instance.

[sanitizer] check for file before linting
AcceptedPublic

Authored by rksharma on May 27 2020, 10:11 AM.

Details

Summary

This patch checks for files before passing them to cpplint to avoid cpplint failure which occurs when it is ran without any file. During the build, this happens when it tries to lint inc files and ends up finding nothing. It may not be the exact fix to that situation but it is good to have a check.

Diff Detail

Event Timeline

rksharma created this revision.May 27 2020, 10:11 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 27 2020, 10:11 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
vitalybuka accepted this revision.Jun 11 2020, 3:40 AM
This revision is now accepted and ready to land.Jun 11 2020, 3:40 AM