You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
334 B

#include "Diagnostic.h"
const std::string clang::Diagnostic::get_severity_spelling(unsigned severity) {
switch(severity) {
case 0:
return "Ignored";
case 1:
return "Note";
case 2:
return "Warning";
case 3:
return "Error";
case 4:
return "Fatal";
default:
return "";
}
}