Open
Description
Unlike GCC, Clang's implementation of -Wmissing-noreturn does not fire when seeing a function that always throws:
void throwError(const std::string& msg){
throw std::runtime_error(msg);
}
GCC 15.1 issues the following warning:
warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn]