[clang] Increase the number of driver diagnostics
Sync https://gitee.com/openeuler/llvm-project/pulls/104
This commit is contained in:
parent
09fb721b76
commit
2193591dd0
27
0025-clang-Increase-the-number-of-driver-diagnostics.patch
Normal file
27
0025-clang-Increase-the-number-of-driver-diagnostics.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
From 9efda5a71de8b117366152aa35a8837af0545d0f Mon Sep 17 00:00:00 2001
|
||||||
|
From: eastb233 <xiezhiheng@huawei.com>
|
||||||
|
Date: Mon, 28 Oct 2024 16:20:14 +0800
|
||||||
|
Subject: [PATCH] [clang] Increase the number of driver diagnostics
|
||||||
|
|
||||||
|
It hits the limited number of driver diagnostics,
|
||||||
|
increase `DIAG_SIZE_DRIVER`.
|
||||||
|
---
|
||||||
|
clang/include/clang/Basic/DiagnosticIDs.h | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/clang/include/clang/Basic/DiagnosticIDs.h b/clang/include/clang/Basic/DiagnosticIDs.h
|
||||||
|
index bf4995175ef1..8bc45b91911c 100644
|
||||||
|
--- a/clang/include/clang/Basic/DiagnosticIDs.h
|
||||||
|
+++ b/clang/include/clang/Basic/DiagnosticIDs.h
|
||||||
|
@@ -31,7 +31,7 @@ namespace clang {
|
||||||
|
// Size of each of the diagnostic categories.
|
||||||
|
enum {
|
||||||
|
DIAG_SIZE_COMMON = 300,
|
||||||
|
- DIAG_SIZE_DRIVER = 300,
|
||||||
|
+ DIAG_SIZE_DRIVER = 350,
|
||||||
|
DIAG_SIZE_FRONTEND = 150,
|
||||||
|
DIAG_SIZE_SERIALIZATION = 120,
|
||||||
|
DIAG_SIZE_LEX = 400,
|
||||||
|
--
|
||||||
|
2.38.1.windows.1
|
||||||
|
|
||||||
@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
Name: %{pkg_name}
|
Name: %{pkg_name}
|
||||||
Version: %{clang_version}
|
Version: %{clang_version}
|
||||||
Release: 28
|
Release: 29
|
||||||
Summary: A C language family front-end for LLVM
|
Summary: A C language family front-end for LLVM
|
||||||
|
|
||||||
License: NCSA
|
License: NCSA
|
||||||
@ -76,6 +76,8 @@ Patch21: 0021-AArch64-Delete-hip09-macro.patch
|
|||||||
Patch22: 0022-Driver-Pass-z-arg-and-Wl-z-arg-option-to-the-linker.patch
|
Patch22: 0022-Driver-Pass-z-arg-and-Wl-z-arg-option-to-the-linker.patch
|
||||||
Patch23: 0023-Handling-of-option-Wall-and-Werror-format-2-override.patch
|
Patch23: 0023-Handling-of-option-Wall-and-Werror-format-2-override.patch
|
||||||
Patch24: 0024-Backport-PATCH-Clang-CodeGen-Add__builtin_bcopy.patch
|
Patch24: 0024-Backport-PATCH-Clang-CodeGen-Add__builtin_bcopy.patch
|
||||||
|
Patch25: 0025-clang-Increase-the-number-of-driver-diagnostics.patch
|
||||||
|
|
||||||
# Patches for clang-tools-extra
|
# Patches for clang-tools-extra
|
||||||
# See https://reviews.llvm.org/D120301
|
# See https://reviews.llvm.org/D120301
|
||||||
Patch201: fedora-clang-tools-extra-Make-test-dependency-on-LLVMHello-.patch
|
Patch201: fedora-clang-tools-extra-Make-test-dependency-on-LLVMHello-.patch
|
||||||
@ -419,6 +421,9 @@ LD_LIBRARY_PATH=%{buildroot}/%{install_libdir} %{__ninja} check-all -C ./_build
|
|||||||
%{install_bindir}/git-clang-format
|
%{install_bindir}/git-clang-format
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 20 2024 eastb233 <xiezhiheng@huawei.com> - 17.0.6-29
|
||||||
|
- [clang] Increase the number of driver diagnostics
|
||||||
|
|
||||||
* Wed Nov 20 2024 liyunfei <liyunfei33@huawei.com> - 17.0.6-28
|
* Wed Nov 20 2024 liyunfei <liyunfei33@huawei.com> - 17.0.6-28
|
||||||
- [Backport][Clang][CodeGen] Add __builtin_bcopy
|
- [Backport][Clang][CodeGen] Add __builtin_bcopy
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user