Skip to content
Open
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: 1 addition & 3 deletions cfg/std.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8343,9 +8343,7 @@ initializer list (7) string& replace (const_iterator i1, const_iterator i2, init
<leak-ignore/>
<container yields="size"/>
<returnValue type="size_t"/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="1" direction="in" indirect="0"/>
</function>
<function name="std::ssize">
<noreturn>false</noreturn>
Expand Down
5 changes: 5 additions & 0 deletions test/cfg/std.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5071,6 +5071,11 @@ int f_constVariable_std_begin() {
return arr[0];
}

std::size_t uninitvar_std_size() { // #14976
int a[3];
return std::size(a);
}

void smartPtr_get()
{
std::unique_ptr<int> p;
Expand Down
Loading