[all-commits] [llvm/llvm-project] c105bc: Specify -fno-builtin when testing to make sure tha...
Richard Smith via All-commits
all-commits at lists.llvm.org
Sun Apr 17 19:41:57 PDT 2022
Author: Richard Smith <richard at metafoo.co.uk>
Date: 2022-04-17 (Sun, 17 Apr 2022)
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.
More information about the All-commits