//===- TextDiagnosticBuffer.h - Buffer Text Diagnostics ---------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This is a concrete diagnostic client, which buffers the diagnostic messages. // //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_FRONTEND_TEXTDIAGNOSTICBUFFER_H #define LLVM_CLANG_FRONTEND_TEXTDIAGNOSTICBUFFER_H #include "clang/Basic/Diagnostic.h" #include "clang/Basic/SourceLocation.h" #include <cstddef> #include <string> #include <utility> #include <vector> namespace clang { class TextDiagnosticBuffer : public DiagnosticConsumer { … }; } // namespace clang #endif // LLVM_CLANG_FRONTEND_TEXTDIAGNOSTICBUFFER_H