summaryrefslogtreecommitdiffstats
path: root/src/msvc_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/msvc_helper.h')
-rw-r--r--src/msvc_helper.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/msvc_helper.h b/src/msvc_helper.h
index 5a657be..5bf9787 100644
--- a/src/msvc_helper.h
+++ b/src/msvc_helper.h
@@ -34,5 +34,11 @@ struct CLWrapper {
/// Exposed for testing.
static string FilterShowIncludes(const string& line);
+ /// Parse a line of cl.exe output and return true if it looks like
+ /// it's printing an input filename. This is a heuristic but it appears
+ /// to be the best we can do.
+ /// Exposed for testing.
+ static bool FilterInputFilename(const string& line);
+
vector<string> includes_;
};