From e0fa7c730d01fafd877863a145462cf1e0d5fd5b Mon Sep 17 00:00:00 2001 From: Dani Ferreira Franco Moura Date: Fri, 23 Dec 2022 10:04:56 +0000 Subject: [PATCH] Remove empty header file. Reviewed By: gribozavr2, merrymeerkat Differential Revision: https://reviews.llvm.org/D140483 --- clang/docs/tools/clang-formatted-files.txt | 1 - clang/include/clang/Analysis/AnalysisDiagnostic.h | 14 -------------- clang/include/clang/module.modulemap | 5 +---- 3 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 clang/include/clang/Analysis/AnalysisDiagnostic.h diff --git a/clang/docs/tools/clang-formatted-files.txt b/clang/docs/tools/clang-formatted-files.txt index c7443e7..3babeee 100644 --- a/clang/docs/tools/clang-formatted-files.txt +++ b/clang/docs/tools/clang-formatted-files.txt @@ -116,7 +116,6 @@ clang/bindings/python/tests/cindex/INPUTS/header3.h clang/examples/Attribute/Attribute.cpp clang/examples/CallSuperAttribute/CallSuperAttrInfo.cpp clang/examples/PluginsOrder/PluginsOrder.cpp -clang/include/clang/Analysis/AnalysisDiagnostic.h clang/include/clang/Analysis/BodyFarm.h clang/include/clang/Analysis/IssueHash.h clang/include/clang/Analysis/MacroExpansionContext.h diff --git a/clang/include/clang/Analysis/AnalysisDiagnostic.h b/clang/include/clang/Analysis/AnalysisDiagnostic.h deleted file mode 100644 index fd5f2ff..0000000 --- a/clang/include/clang/Analysis/AnalysisDiagnostic.h +++ /dev/null @@ -1,14 +0,0 @@ -//===--- DiagnosticAnalysis.h - Diagnostics for libanalysis -----*- 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 -// -//===----------------------------------------------------------------------===// - -#ifndef LLVM_CLANG_ANALYSIS_ANALYSISDIAGNOSTIC_H -#define LLVM_CLANG_ANALYSIS_ANALYSISDIAGNOSTIC_H - -#include "clang/Basic/DiagnosticAnalysis.h" - -#endif diff --git a/clang/include/clang/module.modulemap b/clang/include/clang/module.modulemap index c182da1..9810add 100644 --- a/clang/include/clang/module.modulemap +++ b/clang/include/clang/module.modulemap @@ -94,10 +94,7 @@ module Clang_Diagnostics { requires cplusplus module All { header "Basic/AllDiagnostics.h" export * } - module Analysis { - header "Analysis/AnalysisDiagnostic.h" export * - textual header "Analysis/Analyses/UnsafeBufferUsageGadgets.def" - } + module Analysis { textual header "Analysis/Analyses/UnsafeBufferUsageGadgets.def" } module AST { header "AST/ASTDiagnostic.h" export * } module Comment { header "AST/CommentDiagnostic.h" export * } module Driver { header "Driver/DriverDiagnostic.h" export * } -- 2.7.4