pytorch/test/cpp
cyy a81d083b1c [Reland] Add -Wdeprecated and related fixes (#110019)
This is reland of PRs #https://github.com/pytorch/pytorch/pull/108626 and #109564. We fixed the IOS build failure by changing
```
((CHECK) ? (EXPR) : ([] { assert(!#CHECK); }(), (EXPR)))
```
to
```
((CHECK) ? (EXPR) : ([] { assert(false); }(), (EXPR)))
```
in TR2_OPTIONAL_ASSERTED_EXPRESSION, since the former syntax was invalid on Apple Clang. Anyway, we could apply the simple fix hoping that c10::optional would be replaced by std::optional soon.
We also enabled -Wdeprecated on c10.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/110019
Approved by: https://github.com/clee2000
2023-09-28 03:34:29 +00:00
..
aot_inductor [aotinductor] Rename aot_runtime to aoti_runtime (#110007) 2023-09-26 00:46:54 +00:00
api [ROCM] enable skipped test_api cpp tests (#109817) 2023-09-27 16:52:46 +00:00
c10d Clean up CMake target linking (#109959) 2023-09-25 01:37:14 +00:00
common
dist_autograd Remove unneeded linking in CMake targets (#109192) 2023-09-15 19:43:25 +00:00
jit [Reland] Add -Wdeprecated and related fixes (#110019) 2023-09-28 03:34:29 +00:00
lazy Remove unneeded linking in CMake targets (#109192) 2023-09-15 19:43:25 +00:00
lite_interpreter_runtime [BE] [3/3] Rewrite super() calls in test (#94592) 2023-02-12 22:20:53 +00:00
monitor
profiler [Profiler] Fix SOFT_ASSERT test to not raise on debug builds (#91464) 2022-12-30 05:31:03 +00:00
rpc Remove unneeded linking in CMake targets (#109192) 2023-09-15 19:43:25 +00:00
tensorexpr [2/N] Move c10::variant to std::variant (#109723) 2023-09-24 02:47:43 +00:00
__init__.py