aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2009-01-28 03:46:22 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2009-01-28 03:46:22 +0000
commitc591ed14a05f0b1865f99de3c8e2d0b875ba5ca8 (patch)
treea651247ee79d3994256fdd035cb5d6634c332cdc /lib/Support/CommandLine.cpp
parent783a32c383a47fe8e34df27f1d75b0b206e89e3c (diff)
downloadexternal_llvm-c591ed14a05f0b1865f99de3c8e2d0b875ba5ca8.zip
external_llvm-c591ed14a05f0b1865f99de3c8e2d0b875ba5ca8.tar.gz
external_llvm-c591ed14a05f0b1865f99de3c8e2d0b875ba5ca8.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/Support/CommandLine.cpp')
-rw-r--r--lib/Support/CommandLine.cpp7
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;