diff options
author | Nico Weber <nicolasweber@gmx.de> | 2014-06-27 20:19:46 (GMT) |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2014-06-27 20:19:46 (GMT) |
commit | 69bfacebae8315de585837f625739e7621fa38d4 (patch) | |
tree | 8a61e69a62ebc56f7b96463c910975d58ba09e7c /src/msvc_helper.h | |
parent | 63d5b1013cafb2db95687cf446eb5bb68cf6a27a (diff) | |
parent | 7c231a3d0d800bfc2602da097b34d1edca2f600f (diff) | |
download | Ninja-1.5.0.zip Ninja-1.5.0.tar.gz Ninja-1.5.0.tar.bz2 |
v1.5.0v1.5.0
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 e207485..5d7dcb0 100644 --- a/src/msvc_helper.h +++ b/src/msvc_helper.h @@ -27,7 +27,8 @@ 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 +42,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_; }; |