[NFC][clang] Add missing VALIDATE_DIAG_SIZE()
authorWhisperity <whisperity@gmail.com>
Thu, 2 Jul 2020 12:14:57 +0000 (14:14 +0200)
committerWhisperity <whisperity@gmail.com>
Thu, 2 Jul 2020 12:14:57 +0000 (14:14 +0200)
Originally when libCrossTU was introduced in commit
e350b0a19629c4cce87f28913b3137f4c7015de3, the macro which thus had all
diagnostic kinds covered was not added.

clang/lib/Basic/DiagnosticIDs.cpp

index 6f8b544..8c7e63e 100644 (file)
@@ -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)