//===- OptionalDiagnostic.h - An optional diagnostic ------------*- 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 // //===----------------------------------------------------------------------===// // /// \file /// Implements a partial diagnostic which may not be emitted. // //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_AST_OPTIONALDIAGNOSTIC_H #define LLVM_CLANG_AST_OPTIONALDIAGNOSTIC_H #include "clang/AST/APValue.h" #include "clang/Basic/PartialDiagnostic.h" #include "llvm/ADT/APFloat.h" #include "llvm/ADT/APSInt.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" namespace clang { /// A partial diagnostic which we might know in advance that we are not going /// to emit. class OptionalDiagnostic { … }; } // namespace clang #endif