Clang trunk with `-std=c++17 -pedantic-error` sets __has_cpp_attribute(nodiscard) to 201907, but emits an error if [[nodiscard("message")]] is used. It doesn't warn if -pedantic is not set, but there seems to be no easy way to tell whether the option is active or not. 🤔
0
0
0
0
0