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 | 57cf3964f3fe9872eb1f9f6d089d959646c166ab (patch) | |
tree | d9e1353db0f82ac8351774773efa7a0bbace94ad /llvm/lib/Support/CommandLine.cpp | |
parent | b3bbde3e62d04ecc868109b7873db702bdfecf1b (diff) | |
download | llvm-57cf3964f3fe9872eb1f9f6d089d959646c166ab.zip llvm-57cf3964f3fe9872eb1f9f6d089d959646c166ab.tar.gz llvm-57cf3964f3fe9872eb1f9f6d089d959646c166ab.tar.bz2 |
Clarify comment.
llvm-svn: 63171
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
-rw-r--r-- | llvm/lib/Support/CommandLine.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp index 8cd483a..2414734 100644 --- a/llvm/lib/Support/CommandLine.cpp +++ b/llvm/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; |