aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/compile.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-05-25 15:40:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-05-25 15:40:53 +0200
commit240062520c3bddc3e961f76517277e0ee8113693 (patch)
tree94ae422712577d115e14ea8ab0a41359c4c15426 /build2/cc/compile.hxx
parent427efeae13912b66e1c030c7645a2b1f322dff4d (diff)
Extract C++ modules information
For now we do it for every translation unit in order to test our C++ lexer and parser.
Diffstat (limited to 'build2/cc/compile.hxx')
-rw-r--r--build2/cc/compile.hxx8
1 files changed, 7 insertions, 1 deletions
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<auto_rmfile, bool>
- 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;