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