From: Whisperity Date: Thu, 2 Jul 2020 12:14:57 +0000 (+0200) Subject: [NFC][clang] Add missing VALIDATE_DIAG_SIZE() X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4cf24cb868b9fe9e65d2e4b27b8ec5fd5d5fb599;p=platform%2Fupstream%2Fllvm.git [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. --- diff --git a/clang/lib/Basic/DiagnosticIDs.cpp b/clang/lib/Basic/DiagnosticIDs.cpp index 6f8b544..8c7e63e 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)