[all-commits] [llvm/llvm-project] 096120: [NFC][Diagnostics] Reformat `DiagnosticIDs.h` and ...
Dan Liew via All-commits
all-commits at lists.llvm.org
Thu Aug 21 14:07:10 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 09612007f1d1f431e4418acbe3373b14b21fb913
https://github.com/llvm/llvm-project/commit/09612007f1d1f431e4418acbe3373b14b21fb913
Author: Dan Liew <dan at su-root.co.uk>
Date: 2025-08-21 (Thu, 21 Aug 2025)
Changed paths:
M clang/include/clang/Basic/AllDiagnostics.h
M clang/include/clang/Basic/DiagnosticIDs.h
Log Message:
-----------
[NFC][Diagnostics] Reformat `DiagnosticIDs.h` and `AllDiagnostics.h` (#154628)
When trying to add a new diagnostic category (e.g. #154618) I discovered
`clang-format` really wanted to reformat these files.
My initial attempt was just to suppress the reformatting with `//
clang-format (on|off)` directives but reviewers preferred just
reformatting the files so these two files have been completely
reformatted.
`clang-format` has been disabled for the enum that declares the
`DIAG_START_*` constants because its much less readable after
formatting.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list