Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion cfg/qt.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@
<!-- int QStringList::size() const -->
<function name="QList::count,QList::length,QList::size,QString::count,QString::length,QString::size,QStringList::count,QStringList::length,QStringList::size">
<noreturn>false</noreturn>
<const/>
<use-retval/>
<returnValue type="signed int"/>
<const/>
Expand All @@ -300,8 +301,9 @@
<!-- bool QString::isNull() const -->
<!-- bool QStringList::empty() const -->
<!-- bool QStringList::isEmpty() const -->
<function name="QList::empty,QList::isEmpty::QString::isEmpty,QString::isNull,QStringList::empty,QStringList::isEmpty::">
<function name="QList::empty,QList::isEmpty,QString::isEmpty,QString::isNull,QStringList::empty,QStringList::isEmpty">
<noreturn>false</noreturn>
<const/>
<use-retval/>
<returnValue type="bool"/>
<const/>
Expand Down
6 changes: 6 additions & 0 deletions cfg/std.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5899,6 +5899,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
</function>
<function name="std::array::empty,std::deque::empty,std::list::empty,std::forward_list::empty,std::map::empty,std::unordered_map::empty,std::queue::empty,std::set::empty,std::unordered_set::empty,std::stack::empty,std::string::empty,std::wstring::empty,std::basic_string::empty,std::vector::empty">
<use-retval/>
<const/>
<returnValue type="bool"/>
<noreturn>false</noreturn>
</function>
Expand All @@ -5922,6 +5923,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
</function>
<function name="std::list::find,std::map::find,std::set::find,std::vector::find">
<use-retval/>
<const/>
<returnValue type="iterator"/>
<noreturn>false</noreturn>
<arg nr="1">
Expand All @@ -5930,6 +5932,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
</function>
<function name="std::deque::size,std::deque::max_size,std::list::size,std::list::max_size,std::map::size,std::map::max_size,std::unordered_map::size,std::unordered_map::max_size,std::queue::size,std::set::size,std::set::max_size,std::unordered_set::size,std::unordered_set::max_size,std::stack::size,std::string::size,std::wstring::size,std::vector::size,std::vector::capacity,std::vector::max_size,std::array::size,std::array::max_size">
<use-retval/>
<const/>
<returnValue type="std::size_t"/>
<noreturn>false</noreturn>
</function>
Expand Down Expand Up @@ -5983,6 +5986,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
</function>
<function name="std::string::c_str,std::string::data">
<use-retval/>
<const/>
<returnValue type="const char *"/>
<noreturn>false</noreturn>
</function>
Expand All @@ -6001,6 +6005,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
<!-- size_t rfind (char c, size_t pos = npos) const noexcept; -->
<function name="std::basic_string::find_last_not_of,std::string::find_last_not_of,std::wstring::find_last_not_of,std::basic_string::find_first_not_of,std::string::find_first_not_of,std::wstring::find_first_not_of,std::string::find,std::string::rfind,std::wstring::find,std::wstring::rfind,std::basic_string::find,std::basic_string::rfind,std::string::find_first_of,std::wstring::find_first_of,std::basic_string::find_first_of,std::string::find_last_of,std::wstring::find_last_of,std::basic_string::find_last_of">
<use-retval/>
<const/>
<returnValue type="size_t"/>
<noreturn>false</noreturn>
<leak-ignore/>
Expand All @@ -6018,6 +6023,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
</arg>
</function>
<function name="std::string::length,std::wstring::length,std::basic_string::size,std::basic_string::length">
<const/>
<use-retval/>
<returnValue type="std::size_t"/>
<noreturn>false</noreturn>
Expand Down