clang 8.0.0

DiagnosticOptions.cpp
Go to the documentation of this file.
1 //===- DiagnosticOptions.cpp - C Language Family Diagnostic Handling ------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file implements the DiagnosticOptions related interfaces.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #include "clang/Basic/DiagnosticOptions.h"
15 #include "llvm/Support/raw_ostream.h"
16 #include <type_traits>
17
18 namespace clang {
19
20 raw_ostream &operator<<(raw_ostream &Out, DiagnosticLevelMask M) {
21 using UT = std::underlying_type<DiagnosticLevelMask>::type;
22 return Out << static_cast<UT>(M);
23 }
24
25 } // namespace clang
clang::ast_matchers::type
const internal::VariadicAllOfMatcher< Type > type
Matches Types in the clang AST.
Definition: ASTMatchersInternal.cpp:592
clang::operator<<
const DiagnosticBuilder & operator<<(const DiagnosticBuilder &DB, const Attr *At)
Definition: Attr.h:336
clang
Dataflow Directional Tag Classes.
Definition: CFGReachabilityAnalysis.h:22
DiagnosticOptions.h
clang::DiagnosticLevelMask
DiagnosticLevelMask
A bitmask representing the diagnostic levels used by VerifyDiagnosticConsumer.
Definition: DiagnosticOptions.h:33