Path: blob/main/contrib/llvm-project/clang/lib/Basic/DiagnosticOptions.cpp
35233 views
//===- DiagnosticOptions.cpp - C Language Family Diagnostic Handling ------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// This file implements the DiagnosticOptions related interfaces.9//10//===----------------------------------------------------------------------===//1112#include "clang/Basic/DiagnosticOptions.h"13#include "llvm/Support/raw_ostream.h"14#include <type_traits>1516namespace clang {1718raw_ostream &operator<<(raw_ostream &Out, DiagnosticLevelMask M) {19using UT = std::underlying_type_t<DiagnosticLevelMask>;20return Out << static_cast<UT>(M);21}2223} // namespace clang242526