[clang compat] Use new header for frontend diagnostics

In December 2018, the header clang/Frontend/FrontendDiagnostic.h moved
to clang/Basic/DiagnosticFrontend.h. The old header was left around for
compatibility.

Use the new one instead.

Sorry I'm late.
This commit is contained in:
Kim Gräsman 2023-01-07 20:53:18 +01:00
parent d7e4a20e8f
commit d888b82d4f
1 changed files with 1 additions and 1 deletions

View File

@ -28,13 +28,13 @@
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/MemoryBuffer.h"
#include "clang/Basic/DiagnosticOptions.h"
#include "clang/Basic/DiagnosticFrontend.h"
#include "clang/Driver/Compilation.h"
#include "clang/Driver/Driver.h"
#include "clang/Driver/Tool.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Frontend/CompilerInvocation.h"
#include "clang/Frontend/FrontendAction.h"
#include "clang/Frontend/FrontendDiagnostic.h" // IWYU pragma: keep
#include "clang/Frontend/TextDiagnosticPrinter.h"
namespace llvm {