1284679Sdim//===--- DiagnosticOptions.cpp - C Language Family Diagnostic Handling ----===// 2284679Sdim// 3284679Sdim// The LLVM Compiler Infrastructure 4284679Sdim// 5284679Sdim// This file is distributed under the University of Illinois Open Source 6284679Sdim// License. See LICENSE.TXT for details. 7284679Sdim// 8284679Sdim//===----------------------------------------------------------------------===// 9284679Sdim// 10284679Sdim// This file implements the DiagnosticOptions related interfaces. 11284679Sdim// 12284679Sdim//===----------------------------------------------------------------------===// 13284679Sdim 14284679Sdim#include "clang/Basic/DiagnosticOptions.h" 15284679Sdim#include "llvm/Support/raw_ostream.h" 16284679Sdim 17284679Sdimnamespace clang { 18284679Sdim 19284679Sdimraw_ostream& operator<<(raw_ostream& Out, DiagnosticLevelMask M) { 20284679Sdim using UT = std::underlying_type<DiagnosticLevelMask>::type; 21284679Sdim return Out << static_cast<UT>(M); 22284679Sdim} 23284679Sdim 24284679Sdim} // end namespace clang 25