[lldb][NFC] Refactor setup code for Clang diagnostics

GitOrigin-RevId: b0dc54e08a9b5bee8ba1e874e9c12f4c4859f4a3
1 file changed