summaryrefslogtreecommitdiffstats
path: root/src/msvc_helper.h
diff options
context:
space:
mode:
authorScott Graham <scottmg@chromium.org>2015-06-18 22:52:25 (GMT)
committerScott Graham <scottmg@chromium.org>2015-06-18 22:52:25 (GMT)
commit312c6aa131943408e9a0268c11806369f84063e3 (patch)
tree3a6351e50bf8748ce69d1ec749b5bb9c5ebed6b6 /src/msvc_helper.h
parentfd4b140467887be6cb96154d28b9636fe387c69d (diff)
downloadNinja-312c6aa131943408e9a0268c11806369f84063e3.zip
Ninja-312c6aa131943408e9a0268c11806369f84063e3.tar.gz
Ninja-312c6aa131943408e9a0268c11806369f84063e3.tar.bz2
don't alias input/output in ExtractDeps (i.e. actually works now)
Diffstat (limited to 'src/msvc_helper.h')
-rw-r--r--src/msvc_helper.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/msvc_helper.h b/src/msvc_helper.h
index 08c0ad5..30f87f3 100644
--- a/src/msvc_helper.h
+++ b/src/msvc_helper.h
@@ -40,8 +40,9 @@ struct CLParser {
/// Exposed for testing.
static bool FilterInputFilename(string line);
- /// Parse the full output of cl, returning the output (if any) that
- /// should printed. Returns true on success, or false with err filled.
+ /// Parse the full output of cl, filling filtered_output with the text that
+ /// should be printed (if any). Returns true on success, or false with err
+ /// filled. output must not be the same object as filtered_object.
bool Parse(const string& output, const string& deps_prefix,
string* filtered_output, string* err);