#pragma once #include #include #include #include namespace cps { enum class Severity { Error, Warning, Note, Fatal }; // Path of the unit being diagnosed, as given on the command line. inline std::string DiagnosticSource; // Set by the driver from -fdiagnostics-color. inline bool DiagnosticColors = false; // gcc layout: ":