aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/std/complex
diff options
context:
space:
mode:
authorBrooks Moses <bmoses@google.com>2015-04-14 03:46:27 +0000
committerBrooks Moses <bmoses@google.com>2015-04-14 03:46:27 +0000
commitb3ed81e1a462fae51ad9985dc30186d2d64deb88 (patch)
treecb0b7259e2f0c09b068a8e57b349dd4010bf2067 /libstdc++-v3/include/std/complex
parent77c0ebdefb52493802e0d196a5081f4ee4398ff0 (diff)
Mark std::unique, std::remove_if and std::remove with __attribute__((warn_unused_result)).
The attributes are added in the bits/algorithmfwd.h, which is included by the main implementation file bits/stl_algo.h. While it's possible in peculiar circumstances to use these functions correctly without checking their return values, it's not something that's likely to happen in practice. (This also caught a bug in Clang code upstream, fixed separately in r234221.) Google refs b/18886543, b/18980409. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/google/gcc-4_9@222073 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/std/complex')
0 files changed, 0 insertions, 0 deletions