Skip to content

Commit 9eb4760

Browse files
Restore CommentDiagnostic.h and module.modulemap.
1 parent e942775 commit 9eb4760

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
//===--- CommentDiagnostic.h - Diagnostics for the AST library --*- C++ -*-===//
2+
//
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6+
//
7+
//===----------------------------------------------------------------------===//
8+
9+
#ifndef LLVM_CLANG_AST_COMMENTDIAGNOSTIC_H
10+
#define LLVM_CLANG_AST_COMMENTDIAGNOSTIC_H
11+
12+
#include "clang/Basic/DiagnosticComment.h"
13+
14+
#endif
15+

clang/include/module.modulemap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ module Clang_Diagnostics {
111111
module All { header "clang/Basic/AllDiagnostics.h" export * }
112112
module Analysis { textual header "clang/Analysis/Analyses/UnsafeBufferUsageGadgets.def" }
113113
module AST { header "clang/AST/ASTDiagnostic.h" export * }
114+
module Comment { header "clang/AST/CommentDiagnostic.h" export * }
114115
module Driver { header "clang/Driver/DriverDiagnostic.h" export * }
115116
module Frontend { header "clang/Frontend/FrontendDiagnostic.h" export * }
116117
module Lex { header "clang/Lex/LexDiagnostic.h" export * }

0 commit comments

Comments
 (0)