diff options
author | Scott Graham <scottmg@chromium.org> | 2015-06-18 22:41:47 (GMT) |
---|---|---|
committer | Scott Graham <scottmg@chromium.org> | 2015-06-18 22:41:47 (GMT) |
commit | fd4b140467887be6cb96154d28b9636fe387c69d (patch) | |
tree | 5720c9a8ea1089a66c63ed39fd2a76ffe31c5197 /src/msvc_helper.h | |
parent | 38aba9dbe68b800038f1cefc827362c126c7b212 (diff) | |
download | Ninja-fd4b140467887be6cb96154d28b9636fe387c69d.zip Ninja-fd4b140467887be6cb96154d28b9636fe387c69d.tar.gz Ninja-fd4b140467887be6cb96154d28b9636fe387c69d.tar.bz2 |
propagate include normalization failure to caller instead
Diffstat (limited to 'src/msvc_helper.h')
-rw-r--r-- | src/msvc_helper.h | 5 |
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_; }; |