[all-commits] [llvm/llvm-project] 38f825: Reject out-of-bounds enum sentinels in DenseMap/De...
James Y Knight via All-commits
all-commits at lists.llvm.org
Thu Jul 24 06:54:40 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 38f82534bbe9e1c9f5edd975a72e07beb7048423
https://github.com/llvm/llvm-project/commit/38f82534bbe9e1c9f5edd975a72e07beb7048423
Author: James Y Knight <jyknight at google.com>
Date: 2025-07-24 (Thu, 24 Jul 2025)
Changed paths:
M clang/include/clang/Basic/Specifiers.h
M llvm/include/llvm/ADT/DenseMapInfo.h
Log Message:
-----------
Reject out-of-bounds enum sentinels in DenseMap/DenseSet. (#150308)
This makes the bug in PR #125556 which was fixed by
dc87a14efb381d960c8fbf988221f31216d7f5fd into a compile-time error.
...and fix a newly-discovered instance of this issue, triggered by a
`llvm::MapVector<AccessSpecifier, ...>` in
clang-tools-extra/clangd/refactor/tweaks/OverridePureVirtuals.cpp.
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