diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-01-08 12:46:10 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-01-08 12:46:10 +0200 |
commit | 8b07d68462c5fec92fd5a4aab77ddfd425d1f8d0 (patch) | |
tree | 155b5d4e1789bdb2523081da12201d87d5fa4153 /build2/cc/module.hxx | |
parent | f6c3788de3d148c90aba705d045b1d92e7fea20a (diff) |
Implement compiler_info caching
Diffstat (limited to 'build2/cc/module.hxx')
-rw-r--r-- | build2/cc/module.hxx | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/build2/cc/module.hxx b/build2/cc/module.hxx index 928e16c..de61611 100644 --- a/build2/cc/module.hxx +++ b/build2/cc/module.hxx @@ -52,20 +52,24 @@ namespace build2 size_t sys_lib_dirs_extra; // First extra path (size if none). size_t sys_inc_dirs_extra; // First extra path (size if none). - compiler_info ci; // Note: some members are moved from. + const compiler_info* ci_; private: + // Defined in gcc.cxx. + // dir_paths - gcc_header_search_paths (process_path&, scope&) const; // gcc.cxx + gcc_header_search_paths (const process_path&, scope&) const; dir_paths - gcc_library_search_paths (process_path&, scope&) const; // gcc.cxx + gcc_library_search_paths (const process_path&, scope&) const; + // Defined in msvc.cxx. + // dir_paths - msvc_header_search_paths (process_path&, scope&) const; // msvc.cxx + msvc_header_search_paths (const process_path&, scope&) const; dir_paths - msvc_library_search_paths (process_path&, scope&) const; // msvc.cxx + msvc_library_search_paths (const process_path&, scope&) const; private: bool new_; // See guess() and init() for details. |