sommerlukas wrote: @mizvekov This also caused compilation errors in the context of Pytorch ATen.
I've tried to create a smaller reproducer from the failure, see [clang-repro.tar.gz](https://github.com/user-attachments/files/29143439/clang-repro.tar.gz). The reproducer contains a few reduced headers, but in total just 243 LoC. If you want to investigate in the original context of Pytorch ATen: `repro.cpp`: ```c++ #include <torch/script.h> auto d = c10::Dict<std::string, c10::List<c10::IValue>>(); ``` Steps: ```sh pip download torch==2.12.0 --no-deps -d pytorch cd pytorch unzip -q torch-2.12.0-cp310-cp310-manylinux_2_28_x86_64.whl -d extracted clang++ -std=c++17 \ -isystem pytorch/extracted/torch/include \ -isystem pytorch/extracted/torch/include/torch/csrc/api/include \ -o proxy.o -c proxy.cpp ``` https://github.com/llvm/llvm-project/pull/202088 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
