cpp_style.py 297 B

1234567891011121314
  1. def on_style(unit, *args):
  2. def it():
  3. yield 'DONT_PARSE'
  4. for f in args:
  5. f = f[len('${ARCADIA_ROOT}') + 1 :]
  6. if '/generated/' in f:
  7. continue
  8. yield f
  9. yield '/cpp_style/files/' + f
  10. unit.onresource(list(it()))