diff options
Diffstat (limited to 'src/msvc_helper.h')
-rw-r--r-- | src/msvc_helper.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/msvc_helper.h b/src/msvc_helper.h index 5d7dcb0..30f87f3 100644 --- a/src/msvc_helper.h +++ b/src/msvc_helper.h @@ -40,9 +40,11 @@ struct CLParser { /// Exposed for testing. 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); + /// 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); set<string> includes_; }; |