getCompilerOptionsDiagnostics

Gets global diagnostics related to the program configuration and compiler options.