diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2009-01-28 03:46:22 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2009-01-28 03:46:22 +0000 |
commit | 6c55b1ca7b72c90ce93ca25bc35aefef7d7deda4 (patch) | |
tree | a651247ee79d3994256fdd035cb5d6634c332cdc /lib | |
parent | f83c81acbe5923ab6e0572f272d203d795e28185 (diff) | |
download | external_llvm-6c55b1ca7b72c90ce93ca25bc35aefef7d7deda4.zip external_llvm-6c55b1ca7b72c90ce93ca25bc35aefef7d7deda4.tar.gz external_llvm-6c55b1ca7b72c90ce93ca25bc35aefef7d7deda4.tar.bz2 |
Clarify comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63171 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Support/CommandLine.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Support/CommandLine.cpp b/lib/Support/CommandLine.cpp index 8cd483a..2414734 100644 --- a/lib/Support/CommandLine.cpp +++ b/lib/Support/CommandLine.cpp @@ -396,7 +396,12 @@ static void ExpandResponseFiles(int argc, char** argv, // If we could open the file, parse its contents, otherwise // pass the @file option verbatim. - // TODO: support recursion. + + // TODO: we should also support recursive loading of response files, + // since this is how gcc behaves. (From their man page: "The file may + // itself contain additional @file options; any such options will be + // processed recursively.") + if (respFilePtr != 0) { ParseCStringVector(newArgv, respFilePtr->getBufferStart()); continue; |