[clang] 913107f - [clang][deps] Update helper script documentation

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 12 07:56:11 PST 2022


Author: Jan Svoboda
Date: 2022-03-12T16:55:38+01:00
New Revision: 913107fa1fb1ea680f1f079a1cdfc5f05a7bfb0b

URL: https://github.com/llvm/llvm-project/commit/913107fa1fb1ea680f1f079a1cdfc5f05a7bfb0b
DIFF: https://github.com/llvm/llvm-project/commit/913107fa1fb1ea680f1f079a1cdfc5f05a7bfb0b.diff

LOG: [clang][deps] Update helper script documentation

Since D118986, clang-scan-deps returns the whole command line even for the original translation units.

Added: 
    

Modified: 
    clang/utils/module-deps-to-rsp.py

Removed: 
    


################################################################################
diff  --git a/clang/utils/module-deps-to-rsp.py b/clang/utils/module-deps-to-rsp.py
index 416b4e6a88749..0688c40a58956 100755
--- a/clang/utils/module-deps-to-rsp.py
+++ b/clang/utils/module-deps-to-rsp.py
@@ -1,9 +1,6 @@
 #!/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


        


More information about the cfe-commits mailing list