DiagnosticOptions.cpp 790 B

123456789101112131415161718192021222324
  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. #include "clang/Basic/DiagnosticOptions.h"
  14. #include "llvm/Support/raw_ostream.h"
  15. namespace clang {
  16. raw_ostream& operator<<(raw_ostream& Out, DiagnosticLevelMask M) {
  17. using UT = std::underlying_type<DiagnosticLevelMask>::type;
  18. return Out << static_cast<UT>(M);
  19. }
  20. } // end namespace clang