View source code
Display the source code in dmd/root/response.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Module dmd.root.response

Compiler implementation of the D programming language

http

//dlang.org This file is not shared with other compilers which use the DMD front-end.

Documentation

https://dlang.org/phobos/dmd_root_response.html

Coverage

https://codecov.io/gh/dlang/dmd/src/master/src/dmd/root/response.d

Functions

NameDescription
insertArgumentsFromResponse(buffer, args, argIndex) Take the contents of a response-file 'buffer', parse it and put the resulting arguments in 'args' at 'argIndex'. 'argIndex' will be updated to point just after the inserted arguments. The logic of this should match that in setargv()
responseExpandFrom(args) Expand any response files in command line. Response files are arguments that look like: @NAME The names are resolved by calling the 'lookup' function passed as a template parameter. That function is expected to first check the environment and then the file system. Arguments are separated by spaces, tabs, or newlines. These can be imbedded within arguments by enclosing the argument in "". Backslashes can be used to escape a ". A line comment can be started with #. Recursively expands nested response files.

Aliases

NameTypeDescription
responseExpand

Authors

Walter Bright

License

Boost License 1.0