Specify -fno-builtin when testing to make sure that certain stdlib
functions are not treated as [[nodiscard]]. The compiler might choose to treat them as [[nodiscard]] without the involvement of libc++ if we allow it to recognize them as builtins.
parent
acfc025a
Please register or sign in to comment