5chmidti wrote:

I found the issue, but I have not looked for a solution.
See https://godbolt.org/z/or4EnMfWj and #71203.
When using clang with `-target` to specify `x86_64-pc-win32` and 
`x86_64-linux`, the body for the function `f` is `NULL` in the AST with the 
windows target. This only happens for `-target x86_64-windows` pre `c++20`.

Although the tested code does not directly depend on being `c++20` (it is valid 
in `c++11`), maybe I constrain the tests in this pr to be in `c++20` mode until 
the issue is fixed? What do you think?

https://github.com/llvm/llvm-project/pull/70559
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to