1 //===--- DiagnosticOptions.cpp - C Language Family Diagnostic Handling ----===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file implements the DiagnosticOptions related interfaces.
12 //===----------------------------------------------------------------------===//
14 #include "clang/Basic/DiagnosticOptions.h"
15 #include "llvm/Support/raw_ostream.h"
19 raw_ostream& operator<<(raw_ostream& Out, DiagnosticLevelMask M) {
20 using UT = std::underlying_type<DiagnosticLevelMask>::type;
21 return Out << static_cast<UT>(M);
24 } // end namespace clang