mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-01 17:16:06 +00:00

Summary: Removed unused headers, replaced some headers with forward class declarations Patch by: Eugene <claprix@yandex.ru> Differential Revision: https://reviews.llvm.org/D20100 llvm-svn: 275882
25 lines
790 B
C++
25 lines
790 B
C++
//===--- DiagnosticOptions.cpp - C Language Family Diagnostic Handling ----===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file implements the DiagnosticOptions related interfaces.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "clang/Basic/DiagnosticOptions.h"
|
|
#include "llvm/Support/raw_ostream.h"
|
|
|
|
namespace clang {
|
|
|
|
raw_ostream &operator<<(raw_ostream &Out, DiagnosticLevelMask M) {
|
|
using UT = std::underlying_type<DiagnosticLevelMask>::type;
|
|
return Out << static_cast<UT>(M);
|
|
}
|
|
|
|
} // end namespace clang
|