diff options
author | Peter Kümmel <kuemmel@coffeelogic.de> | 2013-10-13 10:20:17 (GMT) |
---|---|---|
committer | Peter Kümmel <syntheticpp@gmx.net> | 2013-10-18 23:25:47 (GMT) |
commit | 037b0934f929ba17434906fb781aeb1acb583385 (patch) | |
tree | f426231b651860a2ddc382d2c1ff842cdeab95d0 /src/msvc_helper.h | |
parent | 6f7ea464bb9161ce2e15deb97977886de152c12d (diff) | |
download | Ninja-037b0934f929ba17434906fb781aeb1acb583385.zip Ninja-037b0934f929ba17434906fb781aeb1acb583385.tar.gz Ninja-037b0934f929ba17434906fb781aeb1acb583385.tar.bz2 |
add deps_prefix for localized /showIncludes' output parsing
Diffstat (limited to 'src/msvc_helper.h')
-rw-r--r-- | src/msvc_helper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/msvc_helper.h b/src/msvc_helper.h index e207485..0433769 100644 --- a/src/msvc_helper.h +++ b/src/msvc_helper.h @@ -27,7 +27,7 @@ struct CLParser { /// Parse a line of cl.exe output and extract /showIncludes info. /// If a dependency is extracted, returns a nonempty string. /// Exposed for testing. - static string FilterShowIncludes(const string& line); + static string FilterShowIncludes(const string& line, const string& deps_prefix); /// Return true if a mentioned include file is a system path. /// Filtering these out reduces dependency information considerably. @@ -41,7 +41,7 @@ struct CLParser { /// Parse the full output of cl, returning the output (if any) that /// should printed. - string Parse(const string& output); + string Parse(const string& output, const string& deps_prefix); set<string> includes_; }; |