#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/DiagnosticError.h"
#include "clang/Basic/DiagnosticIDs.h"
#include "clang/Basic/DiagnosticLex.h"
#include "gtest/gtest.h"
#include <optional>
usingnamespacellvm;
usingnamespaceclang;
void clang::DiagnosticsTestHelper(DiagnosticsEngine &diag) { … }
namespace {
TEST(DiagnosticTest, suppressAndTrap) { … }
TEST(DiagnosticTest, fatalsAsError) { … }
TEST(DiagnosticTest, tooManyErrorsIsAlwaysFatal) { … }
TEST(DiagnosticTest, softReset) { … }
TEST(DiagnosticTest, diagnosticError) { … }
TEST(DiagnosticTest, storedDiagEmptyWarning) { … }
}