[PATCH] D38095: Remove reference to response file arguments in CommandLine.rst

Dave Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 20 12:35:46 PDT 2017


kastiglione created this revision.

The documentation refers to a boolean that controls whether response files are
handled, but this is incorrect. Since r165535, response files are always
enabled.


https://reviews.llvm.org/D38095

Files:
  docs/CommandLine.rst


Index: docs/CommandLine.rst
===================================================================
--- docs/CommandLine.rst
+++ docs/CommandLine.rst
@@ -1251,9 +1251,7 @@
 customary to use the so-called 'response files' to circumvent this
 restriction. These files are mentioned on the command-line (using the "@file")
 syntax. The program reads these files and inserts the contents into argv,
-thereby working around the command-line length limits. Response files are
-enabled by an optional fourth argument to `cl::ParseEnvironmentOptions`_ and
-`cl::ParseCommandLineOptions`_.
+thereby working around the command-line length limits.
 
 Top-Level Classes and Functions
 -------------------------------
@@ -1324,8 +1322,7 @@
 
 The ``cl::ParseCommandLineOptions`` function requires two parameters (``argc``
 and ``argv``), but may also take an optional third parameter which holds
-`additional extra text`_ to emit when the ``-help`` option is invoked, and a
-fourth boolean parameter that enables `response files`_.
+`additional extra text`_ to emit when the ``-help`` option is invoked.
 
 .. _cl::ParseEnvironmentOptions:
 
@@ -1340,9 +1337,8 @@
 
 It takes four parameters: the name of the program (since ``argv`` may not be
 available, it can't just look in ``argv[0]``), the name of the environment
-variable to examine, the optional `additional extra text`_ to emit when the
-``-help`` option is invoked, and the boolean switch that controls whether
-`response files`_ should be read.
+variable to examine, and the optional `additional extra text`_ to emit when the
+``-help`` option is invoked.
 
 ``cl::ParseEnvironmentOptions`` will break the environment variable's value up
 into words and then process them using `cl::ParseCommandLineOptions`_.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38095.116054.patch
Type: text/x-patch
Size: 1755 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170920/f4e2cc4d/attachment.bin>


More information about the llvm-commits mailing list