summaryrefslogtreecommitdiff
path: root/src/msvc_helper.h
diff options
context:
space:
mode:
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 5d7dcb0..08c0ad5 100644
--- a/src/msvc_helper.h
+++ b/src/msvc_helper.h
@@ -41,8 +41,9 @@ struct CLParser {
static bool FilterInputFilename(string line);
/// Parse the full output of cl, returning the output (if any) that
- /// should printed.
- string Parse(const string& output, const string& deps_prefix);
+ /// should printed. Returns true on success, or false with err filled.
+ bool Parse(const string& output, const string& deps_prefix,
+ string* filtered_output, string* err);
set<string> includes_;
};