mpd/src/util
Max Kellermann 788e3b31e1 *: remove "pure" and "const" attributes from throwing functions
The "pure" and "const" attributes are not so well-defined, and a
recent clang version implements an optimization which pushes the
definition's boundary beyond what I believed it was.  clang now
assumes that functions declared "pure" cannot throw exceptions, even
if they lack the "noexcept" specification.

When compiled with this new clang version, MPD will crash randomly if
an exception happens to get thrown by such as "pure" function
(https://github.com/MusicPlayerDaemon/MPD/issues/41).

This commit removes all such misplaced "pure" and "const" attributes,
closing #41.
2017-05-08 17:25:06 +02:00
..
Alloc.cxx update copyright year 2017-01-03 20:48:59 +01:00
Alloc.hxx update copyright year 2017-01-03 20:48:59 +01:00
AllocatedArray.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
AllocatedString.cxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
AllocatedString.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
ASCII.hxx *: add "noexcept" to many, many function prototypes 2017-05-08 14:44:49 +02:00
BindMethod.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
bit_reverse.c update copyright year 2017-01-03 20:48:59 +01:00
bit_reverse.h update copyright year 2017-01-03 20:48:59 +01:00
ByteReverse.cxx update copyright year 2017-01-03 20:48:59 +01:00
ByteReverse.hxx update copyright year 2017-01-03 20:48:59 +01:00
Cast.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
CharUtil.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
CircularBuffer.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
Clamp.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
ConstBuffer.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
DeleteDisposer.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
DivideString.cxx update copyright year 2017-01-03 20:48:59 +01:00
DivideString.hxx update copyright year 2017-01-03 20:48:59 +01:00
Domain.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
DynamicFifoBuffer.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
Exception.cxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
Exception.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
ForeignFifoBuffer.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
format.c update copyright year 2017-01-03 20:48:59 +01:00
format.h update copyright year 2017-01-03 20:48:59 +01:00
FormatString.cxx update copyright year 2017-01-03 20:48:59 +01:00
FormatString.hxx update copyright year 2017-01-03 20:48:59 +01:00
HugeAllocator.cxx *: add "noexcept" to many, many function prototypes 2017-05-08 14:44:49 +02:00
HugeAllocator.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
IterableSplitString.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
LazyRandomEngine.cxx update copyright year 2017-01-03 20:48:59 +01:00
LazyRandomEngine.hxx update copyright year 2017-01-03 20:48:59 +01:00
Macros.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
Manual.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
MimeType.cxx update copyright year 2017-01-03 20:48:59 +01:00
MimeType.hxx update copyright year 2017-01-03 20:48:59 +01:00
NumberParser.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
OptionDef.hxx update copyright year 2017-01-03 20:48:59 +01:00
OptionParser.cxx update copyright year 2017-01-03 20:48:59 +01:00
OptionParser.hxx update copyright year 2017-01-03 20:48:59 +01:00
PeakBuffer.cxx *: add "noexcept" to many, many function prototypes 2017-05-08 14:44:49 +02:00
PeakBuffer.hxx *: add "noexcept" to many, many function prototypes 2017-05-08 14:44:49 +02:00
RefCount.hxx update copyright year 2017-01-03 20:48:59 +01:00
ReusableArray.hxx ReusableArray: fix build error on GCC7 2017-03-01 19:38:41 +01:00
RuntimeError.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
ScopeExit.hxx util/ScopeExit: copy enabled tag in move constructor 2017-04-12 13:11:43 +02:00
SliceBuffer.hxx update copyright year 2017-01-03 20:48:59 +01:00
SplitString.cxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
SplitString.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
StaticFifoBuffer.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
StringAPI.hxx *: add "noexcept" to many, many function prototypes 2017-05-08 14:44:49 +02:00
StringBuffer.hxx util/StringBuffer: new utility class 2017-01-17 22:03:42 +01:00
StringCompare.cxx *: add "noexcept" to many, many function prototypes 2017-05-08 14:44:49 +02:00
StringCompare.hxx *: add "noexcept" to many, many function prototypes 2017-05-08 14:44:49 +02:00
StringPointer.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
StringUtil.cxx *: add "noexcept" to many, many function prototypes 2017-05-08 14:44:49 +02:00
StringUtil.hxx *: add "noexcept" to many, many function prototypes 2017-05-08 14:44:49 +02:00
StringView.cxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
StringView.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
TextFile.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
TimeParser.cxx *: remove "pure" and "const" attributes from throwing functions 2017-05-08 17:25:06 +02:00
TimeParser.hxx *: remove "pure" and "const" attributes from throwing functions 2017-05-08 17:25:06 +02:00
Tokenizer.cxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
Tokenizer.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
UriUtil.cxx *: add "noexcept" to many, many function prototypes 2017-05-08 14:44:49 +02:00
UriUtil.hxx *: add "noexcept" to many, many function prototypes 2017-05-08 14:44:49 +02:00
UTF8.cxx *: add "noexcept" to many, many function prototypes 2017-05-08 14:44:49 +02:00
UTF8.hxx *: add "noexcept" to many, many function prototypes 2017-05-08 14:44:49 +02:00
VarSize.hxx free() require cstdlib to be included 2017-01-31 21:21:37 +01:00
WritableBuffer.hxx AUTHORS, ...: update my email address 2017-01-17 11:54:55 +01:00
WStringAPI.hxx *: add "noexcept" to many, many function prototypes 2017-05-08 14:44:49 +02:00
WStringCompare.cxx *: add "noexcept" to many, many function prototypes 2017-05-08 14:44:49 +02:00
WStringCompare.hxx *: add "noexcept" to many, many function prototypes 2017-05-08 14:44:49 +02:00