diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-05-25 15:40:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-05-25 15:40:53 +0200 |
commit | 240062520c3bddc3e961f76517277e0ee8113693 (patch) | |
tree | 94ae422712577d115e14ea8ab0a41359c4c15426 /build2/cc/common.hxx | |
parent | 427efeae13912b66e1c030c7645a2b1f322dff4d (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/common.hxx')
-rw-r--r-- | build2/cc/common.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build2/cc/common.hxx b/build2/cc/common.hxx index c0289d1..135f5b1 100644 --- a/build2/cc/common.hxx +++ b/build2/cc/common.hxx @@ -105,6 +105,7 @@ namespace build2 const string& cvar; // x.id.variant uint64_t cmaj; // x.version.major uint64_t cmin; // x.version.minor + const process_path& cpath; // x.path const target_triplet& ctg; // x.target const string& tsys; // x.target.system @@ -149,6 +150,7 @@ namespace build2 const char* uninstall, compiler_id::value_type id, const string& var, uint64_t mj, uint64_t mi, + const process_path& path, const target_triplet& tg, const string& std, const process_path* pkgc, @@ -162,7 +164,7 @@ namespace build2 x_link (link), x_install (install), x_uninstall (uninstall), - cid (id), cvar (var), cmaj (mj), cmin (mi), + cid (id), cvar (var), cmaj (mj), cmin (mi), cpath (path), ctg (tg), tsys (ctg.system), tclass (ctg.class_), tstd (std), pkgconfig (pkgc), sys_lib_dirs (sld), sys_inc_dirs (sid), |