how to use #pragma clang diagnostics
You can look up the warning command line parameter if you know the message: Diagnostic flags in Clang
Right click on the issue in the issue navigator and select "Reveal in Log". The error message will specify the warning.