28 lines
987 B
Diff
28 lines
987 B
Diff
|
|
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
|
||
|
|
|