#!/usr/bin/env python3
# Converts clang-scan-deps output into response files.
#
# Usage:
#
# clang-scan-deps -compilation-database compile_commands.json ... > deps.json
# module-deps-to-rsp.py deps.json --module-name=ModuleName > module_name.cc1.rsp
# module-deps-to-rsp.py deps.json --tu-index=0 > tu.rsp
# clang @module_name.cc1.rsp
# clang @tu.rsp
=
=
=
return
=
=
=
return
return + +
=
=
=
=
=
=
!= None:
=