Bypassing clang-tidy false reports on bugprone-exception-escape

Hi, I’m using macOS M1 machine in integrate my project with clang-tidy using clion IDE that comes with the following clang-tidy version:

LLVM version 15.0.0git
Optimized build.
Default target: x86_64-apple-darwin21.4.0
Host CPU: cyclone

however, according to the following fix there are false positive warning for this type of error, and I’m not sure where which version can I find with this fix inserted (the problem began in LLVM-14.)

Any thoughts about which version of llvm should I use in order to avoid this bug ?