[llvm-commits] [llvm] r63171 - /llvm/trunk/lib/Support/CommandLine.cpp

Mikhail Glushenkov foldr at codedgers.com
Tue Jan 27 19:46:23 PST 2009


Author: foldr
Date: Tue Jan 27 21:46:22 2009
New Revision: 63171

URL: http://llvm.org/viewvc/llvm-project?rev=63171&view=rev
Log:
Clarify comment.

Modified:
    llvm/trunk/lib/Support/CommandLine.cpp

Modified: llvm/trunk/lib/Support/CommandLine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/CommandLine.cpp?rev=63171&r1=63170&r2=63171&view=diff

==============================================================================
--- llvm/trunk/lib/Support/CommandLine.cpp (original)
+++ llvm/trunk/lib/Support/CommandLine.cpp Tue Jan 27 21:46:22 2009
@@ -396,7 +396,12 @@
 
         // 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;





More information about the llvm-commits mailing list