projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f83c81a
)
Clarify comment.
author
Mikhail Glushenkov
<foldr@codedgers.com>
Wed, 28 Jan 2009 03:46:22 +0000
(
03:46
+0000)
committer
Mikhail 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
patch
|
blob
|
history
diff --git
a/lib/Support/CommandLine.cpp
b/lib/Support/CommandLine.cpp
index 8cd483a25e5de7bfd49f8c5780f5837cdef20780..2414734869db9d4accbf2cd22bc77d4709600bcb 100644
(file)
--- 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;