filter out .mm files

This commit is contained in:
David Rose 2009-12-12 01:56:10 +00:00
parent 2eeed7bbd6
commit 25241ed6e9

View File

@ -947,6 +947,11 @@ should_include(const string &filename) const {
return false;
}
// Ignore Objective-C files too.
if (filename.length() > 3 && filename.substr(filename.length() - 3) == ".mm") {
return false;
}
// Otherwise, no problem.
return true;
}