Clarify comment.
authorMikhail Glushenkov <foldr@codedgers.com>
Wed, 28 Jan 2009 03:46:22 +0000 (03:46 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Wed, 28 Jan 2009 03:46:22 +0000 (03:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63171 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/CommandLine.cpp

index 8cd483a25e5de7bfd49f8c5780f5837cdef20780..2414734869db9d4accbf2cd22bc77d4709600bcb 100644 (file)
@@ -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;