How to map CLion's warnings to clang-tidy checks?

I have run clang-tidy from CLion and it generated some warning. For example, it generates the following one: “Possibly unsafe 'operator[]', consider bounds-safe alternatives”. In order to work with this warning in source code or tidy config I need to know which clang-tidy check is responsible for that text in CLion. 

How can I find it out? Can I somehow change the behavior to print actual checks instead of human readable text?

0

Please sign in to leave a comment.