boost.cfg: Add support for more functions (#2835)

This commit is contained in:
Georgy Komarov 2020-10-04 09:22:55 +03:00 committed by GitHub
parent 71f5e5bb46
commit 7d5a6d2470
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 97 additions and 0 deletions

View File

@ -762,6 +762,51 @@
<not-bool/>
</arg>
</function>
<!-- std::time_t last_write_time(const path& p); -->
<!-- std::time_t last_write_time(const path& p, system::error_code& ec); -->
<function name="boost::filesystem::last_write_time">
<noreturn>false</noreturn>
<pure/>
<leak-ignore/>
<returnValue type="time_t"/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" default="0" direction="out">
<not-bool/>
</arg>
</function>
<!-- void permissions(const path& p, perms prms); -->
<!-- void permissions(const path& p, perms prms, system::error_code& ec); -->
<function name="boost::filesystem::permissions">
<noreturn>false</noreturn>
<pure/>
<leak-ignore/>
<returnValue type="void"/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
</arg>
<arg nr="3" default="0" direction="out">
<not-bool/>
</arg>
</function>
<!-- path read_symlink(const path& p); -->
<!-- path read_symlink(const path& p, system::error_code& ec); -->
<function name="boost::filesystem::read_symlink">
<noreturn>false</noreturn>
<pure/>
<leak-ignore/>
<returnValue type="path"/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" default="0" direction="out">
<not-bool/>
</arg>
</function>
<!-- bool equivalent(const path& p1, const path& p2); -->
<!-- bool equivalent(const path& p1, const path& p2, system::error_code& ec); -->
<function name="boost::filesystem::equivalent">
@ -812,6 +857,58 @@
<not-bool/>
</arg>
</function>
<!-- void rename(const path& old_p, const path& new_p); -->
<!-- void rename(const path& old_p, const path& new_p, system::error_code& ec); -->
<function name="boost::filesystem::rename">
<noreturn>false</noreturn>
<pure/>
<leak-ignore/>
<returnValue type="void"/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="3" default="0" direction="out">
<not-bool/>
</arg>
</function>
<!-- void resize_file(const path& p, uintmax_t new_size); -->
<!-- void resize_file(const path& p, uintmax_t new_size, system::error_code& ec); -->
<function name="boost::filesystem::resize_file">
<noreturn>false</noreturn>
<pure/>
<leak-ignore/>
<returnValue type="void"/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
</arg>
<arg nr="3" default="0" direction="out">
<not-bool/>
</arg>
</function>
<!-- space_info space(const path& p); -->
<!-- space_info space(const path& p, system::error_code& ec); -->
<function name="boost::filesystem::space">
<noreturn>false</noreturn>
<pure/>
<leak-ignore/>
<returnValue type="space_info"/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="2" default="0" direction="out">
<not-bool/>
</arg>
</function>
<!-- void copy(const path& from, const path& to); -->
<!-- void copy(const path& from, const path& to, system::error_code& ec); -->
<!-- void copy_directory(const path& from, const path& to); -->