[clang] 4cf24cb - [NFC][clang] Add missing VALIDATE_DIAG_SIZE()
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 2 05:16:56 PDT 2020
Author: Whisperity
Date: 2020-07-02T14:14:57+02:00
New Revision: 4cf24cb868b9fe9e65d2e4b27b8ec5fd5d5fb599
URL: https://github.com/llvm/llvm-project/commit/4cf24cb868b9fe9e65d2e4b27b8ec5fd5d5fb599
DIFF: https://github.com/llvm/llvm-project/commit/4cf24cb868b9fe9e65d2e4b27b8ec5fd5d5fb599.diff
LOG: [NFC][clang] Add missing VALIDATE_DIAG_SIZE()
Originally when libCrossTU was introduced in commit
e350b0a19629c4cce87f28913b3137f4c7015de3, the macro which thus had all
diagnostic kinds covered was not added.
Added:
Modified:
clang/lib/Basic/DiagnosticIDs.cpp
Removed:
################################################################################
diff --git a/clang/lib/Basic/DiagnosticIDs.cpp b/clang/lib/Basic/DiagnosticIDs.cpp
index 6f8b5440a4f3..8c7e63e06301 100644
--- a/clang/lib/Basic/DiagnosticIDs.cpp
+++ b/clang/lib/Basic/DiagnosticIDs.cpp
@@ -85,6 +85,7 @@ VALIDATE_DIAG_SIZE(LEX)
VALIDATE_DIAG_SIZE(PARSE)
VALIDATE_DIAG_SIZE(AST)
VALIDATE_DIAG_SIZE(COMMENT)
+VALIDATE_DIAG_SIZE(CROSSTU)
VALIDATE_DIAG_SIZE(SEMA)
VALIDATE_DIAG_SIZE(ANALYSIS)
VALIDATE_DIAG_SIZE(REFACTORING)
More information about the cfe-commits
mailing list