[all-commits] [llvm/llvm-project] e01ea6: [clang-tidy] Reject malformed -std spellings in `c...
Zeyi Xu via All-commits
all-commits at lists.llvm.org
Thu May 7 00:49:30 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e01ea6ce12642e6563cc8b04c6d119ac5a889fba
https://github.com/llvm/llvm-project/commit/e01ea6ce12642e6563cc8b04c6d119ac5a889fba
Author: Zeyi Xu <mitchell.xu2 at gmail.com>
Date: 2026-05-07 (Thu, 07 May 2026)
Changed paths:
M clang-tools-extra/test/clang-tidy/check_clang_tidy.py
Log Message:
-----------
[clang-tidy] Reject malformed -std spellings in `check_clang_tidy.py`. NFC. (#195609)
`check_clang_tidy.py` expanded any `-std` value containing `-or-later`,
even when extra text followed the suffix. e.g. `c++20-or-latermisc` was
treated like `c++20-or-later`.
This commit requires `-or-later` to be the actual end of the spelling
before expanding it, so malformed values are passed through and
diagnosed by clang.
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