[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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c105bcbf98f343fc3687ccfa675378666434eef5
      https://github.com/llvm/llvm-project/commit/c105bcbf98f343fc3687ccfa675378666434eef5
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2022-04-17 (Sun, 17 Apr 2022)

  Changed paths:
    M libcxx/test/libcxx/diagnostics/nodiscard_extensions.pass.cpp

  Log Message:
  -----------
  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 mailing list