[clang] [libcxx] [libc++][Clang] Updated the diagnostics checks in libc++ tests. (PR #144220)

Shamshura Egor via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 15 23:47:53 PDT 2025


egorshamshura wrote:

> > Hi, @AaronBallman! I noticed that the libc++ tests are not using the latest version of my code. How can I run them with the latest version? Thank you!
> 
> They are being run with the current trunk, but also with older versions of Clang, because libc++ supports older versions. Assuming the changes are actually correct, you should be able to simply use `expected-error 0-1` to work around the different diagnostic behaviour in different Clang versions.

Thanks, I get it!

https://github.com/llvm/llvm-project/pull/144220


More information about the cfe-commits mailing list