[PATCH] D61264: Fix inconsistency in calculating DIAG_START values
Russell Gallop via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 29 07:44:03 PDT 2019
russell.gallop created this revision.
russell.gallop added reviewers: xazax.hun, rsmith.
russell.gallop added a project: clang.
Herald added a subscriber: rnkovacs.
The inconsistency was introduced at r313975. As DIAG_SIZE_CROSSTU and DIAG_SIZE_COMMENT are both 100 this should be NFC.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D61264
Files:
clang/include/clang/Basic/DiagnosticIDs.h
Index: clang/include/clang/Basic/DiagnosticIDs.h
===================================================================
--- clang/include/clang/Basic/DiagnosticIDs.h
+++ clang/include/clang/Basic/DiagnosticIDs.h
@@ -50,8 +50,8 @@
DIAG_START_PARSE = DIAG_START_LEX + DIAG_SIZE_LEX,
DIAG_START_AST = DIAG_START_PARSE + DIAG_SIZE_PARSE,
DIAG_START_COMMENT = DIAG_START_AST + DIAG_SIZE_AST,
- DIAG_START_CROSSTU = DIAG_START_COMMENT + DIAG_SIZE_CROSSTU,
- DIAG_START_SEMA = DIAG_START_CROSSTU + DIAG_SIZE_COMMENT,
+ DIAG_START_CROSSTU = DIAG_START_COMMENT + DIAG_SIZE_COMMENT,
+ DIAG_START_SEMA = DIAG_START_CROSSTU + DIAG_SIZE_CROSSTU,
DIAG_START_ANALYSIS = DIAG_START_SEMA + DIAG_SIZE_SEMA,
DIAG_START_REFACTORING = DIAG_START_ANALYSIS + DIAG_SIZE_ANALYSIS,
DIAG_UPPER_LIMIT = DIAG_START_REFACTORING + DIAG_SIZE_REFACTORING
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61264.197080.patch
Type: text/x-patch
Size: 1018 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190429/e3e4e28e/attachment.bin>
More information about the cfe-commits
mailing list