WARNING = 0x02,
EXTENSION = 0x03,
ERROR = 0x04,
- FATAL = 0x05,
class_mask = 0x07
};
case NOTE: return Diagnostic::Note;
case WARNING: return Diagnostic::Warning;
case ERROR: return Diagnostic::Error;
- case FATAL: return Diagnostic::Fatal;
}
}
// WARNING - Warning.
// EXTENSION - Notification that an extension to the language is being used.
// ERROR - Error, compilation will stop after parsing completes.
-// FATAL - Fatal error: parsing must stop.
//===----------------------------------------------------------------------===//
// Portability