poco/Foundation/include
Kim Grasman dd4a3b583a Redefine Poco assertions for static analysis
Static analyzers typically don't do cross-translation unit analysis, so
they don't understand that most of the Poco::Bugcheck methods never
return.

Unfortunately, some of them also don't understand noreturn annotations
(see e.g. http://en.cppreference.com/w/cpp/language/attributes), so
decorating Bugcheck doesn't help.

Instead redefine all the Poco assertion macros to just call abort() iff
we're parsed by a known static analyzer.
2016-07-13 15:14:45 +02:00
..
Poco Redefine Poco assertions for static analysis 2016-07-13 15:14:45 +02:00