From 240062520c3bddc3e961f76517277e0ee8113693 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 25 May 2017 15:40:53 +0200 Subject: Extract C++ modules information For now we do it for every translation unit in order to test our C++ lexer and parser. --- build2/cc/compile.hxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'build2/cc/compile.hxx') diff --git a/build2/cc/compile.hxx b/build2/cc/compile.hxx index d1902a0..f8e6bab 100644 --- a/build2/cc/compile.hxx +++ b/build2/cc/compile.hxx @@ -82,7 +82,13 @@ namespace build2 map_extension (const scope&, const string&, const string&) const; pair - inject (action, file&, lorder, const file&, depdb&, bool&) const; + extract_headers (action, file&, lorder, + const file&, + depdb&, bool&) const; + void + extract_modules (action, file&, lorder, + const file&, auto_rmfile&, + depdb&, bool&) const; private: const string rule_id; -- cgit v1.1