CLion Clang-tidy for macOS M1 comes with false alarm of bugprone-exception-escape errors.


Hi, I've installed Clion for M1, and it comes with clang-tidy 


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

However, starting from version 14, clang-tidy have issue with giving false positive of exception prone method that can throw exception that never get caught. here's the planned fix from llvm site :

what is the best way to change clang-tidy version for CLion without installing the llvm from scratch.






1 comment
Comment actions Permalink


You can provide the path to your custom Clang-Tidy binary in Preferences | Languages & Frameworks | C/C++ | Clang-Tidy -


Please sign in to leave a comment.