equal
deleted
inserted
replaced
211 |
211 |
212 if (content.count() <= 2) // likely a #include line and empty line only. Not a copyright issue. |
212 if (content.count() <= 2) // likely a #include line and empty line only. Not a copyright issue. |
213 return; |
213 return; |
214 |
214 |
215 if (content.first().contains("generated")) { |
215 if (content.first().contains("generated")) { |
216 content.takeFirst(); |
216 // don't scan generated files |
|
217 return; |
217 } |
218 } |
218 |
219 |
219 if (sourceFile.endsWith("/tests/auto/linguist/lupdate/testdata/good/merge_ordering/foo.cpp") |
220 if (sourceFile.endsWith("/tests/auto/linguist/lupdate/testdata/good/merge_ordering/foo.cpp") |
220 || sourceFile.endsWith("/tests/auto/linguist/lupdate/testdata/good/mergecpp/finddialog.cpp")) |
221 || sourceFile.endsWith("/tests/auto/linguist/lupdate/testdata/good/mergecpp/finddialog.cpp")) |
221 { |
222 { |