Skip to content
Snippets Groups Projects
Commit 913107fa authored by Jan Svoboda's avatar Jan Svoboda
Browse files

[clang][deps] Update helper script documentation

Since D118986, clang-scan-deps returns the whole command line even for the original translation units.
parent c4b13f7a
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python3
# Converts clang-scan-deps output into response files.
# * For modules, arguments in the resulting response file are enough to build a PCM.
# * For translation units, the response file needs to be added to the original Clang invocation from compilation
# database.
#
# Usage:
#
......@@ -11,7 +8,7 @@
# 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
# clang @tu.rsp
import argparse
import json
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment