diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-05-13 15:56:30 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-05-13 15:56:30 +0200 |
commit | 3df81f14a044ca615157978272349e0d200c3bd4 (patch) | |
tree | df8f81d4b908ed0d7796d2299800baf65823ec71 /libbuild2/cc/types.cxx | |
parent | 23827edd998db30dd1f0d6a14f09399aa7d07b69 (diff) |
Rename sys_inc_dirs to sys_hdr_dirs for consistency
Diffstat (limited to 'libbuild2/cc/types.cxx')
-rw-r--r-- | libbuild2/cc/types.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libbuild2/cc/types.cxx b/libbuild2/cc/types.cxx index bd68147..8ee4fa9 100644 --- a/libbuild2/cc/types.cxx +++ b/libbuild2/cc/types.cxx @@ -56,7 +56,7 @@ namespace build2 } auto importable_headers:: - insert_angle (const dir_paths& sys_inc_dirs, + insert_angle (const dir_paths& sys_hdr_dirs, const string& s) -> pair<const path, groups>* { assert (s.front () == '<' && s.back () == '>'); @@ -69,7 +69,7 @@ namespace build2 path f (s, 1, s.size () - 2); path p; // Reuse the buffer. - for (const dir_path& d: sys_inc_dirs) + for (const dir_path& d: sys_hdr_dirs) { if (file_exists ((p = d, p /= f), true /* follow_symlinks */, @@ -121,7 +121,7 @@ namespace build2 } size_t importable_headers:: - insert_angle_pattern (const dir_paths& sys_inc_dirs, const string& pat) + insert_angle_pattern (const dir_paths& sys_hdr_dirs, const string& pat) { assert (pat.front () == '<' && pat.back () == '>' && path_pattern (pat)); @@ -166,7 +166,7 @@ namespace build2 return true; }; - for (const dir_path& dir: sys_inc_dirs) + for (const dir_path& dir: sys_hdr_dirs) { d.dir = &dir; |