llvm-project/libc/utils
Paula Toth bf6f3894c4 [libc] Fix warnings on release build.
Summary:
These warnings were present when building llvm-libc in release mode.

```
workspace/llvm-project/libc/utils/benchmarks/LibcMemoryBenchmarkTest.cpp:50:34: warning: 'None' is deprecated: Use Align() or Align(1) instead [-Wdeprecated-declarations]
  Conf.AddressAlignment = Align::None();

workspace/llvm-project/libc/utils/testutils/FDReaderUnix.cpp:19:7: warning: unused variable 'err' [-Wunused-variable]
  int err = ::pipe(pipefd);
```

For test-utils it seems in general we should use `report_fatal_error` instead of asserts as these are turned off when building in release mode.
https://llvm.org/docs/CodingStandards.html#assert-liberally

Reviewers: abrachet, sivachandra

Reviewed By: abrachet, sivachandra

Subscribers: tschuett, libc-commits

Tags: #libc-project

Differential Revision: https://reviews.llvm.org/D79469
2020-05-07 11:56:11 -07:00
..
CPP [libc] Improve information printed on failure of a math test which uses MPFR. 2020-05-05 10:26:29 -07:00
HdrGen [libc][NFC] Make all top of file comments consistent. 2020-04-08 10:18:37 -07:00
MPFRWrapper [libc] Fix how math results are compared with MPFR results. 2020-05-06 10:47:23 -07:00
UnitTest [libc] Add fully-qualified target names. 2020-04-10 18:01:52 -07:00
benchmarks [libc] Fix warnings on release build. 2020-05-07 11:56:11 -07:00
buildbot [libc] NFC: Fix trivial typo in comments, documents, and messages 2020-04-06 16:19:34 +09:00
testutils [libc] Fix warnings on release build. 2020-05-07 11:56:11 -07:00
CMakeLists.txt [libc] Move implementations of cosf, sinf, sincosf to src/math directory. 2020-04-16 08:46:10 -07:00