[clang] [clang-tools-extra] [clang][clang-tools-extra] Remove unused DenseMapInfo::getTombstoneKey (PR #200634)
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Sun May 31 17:04:48 PDT 2026
================
@@ -136,9 +136,6 @@ template <> struct DenseMapInfo<clang::tok::PPKeywordKind> {
static inline clang::tok::PPKeywordKind getEmptyKey() {
return clang::tok::PPKeywordKind::pp_not_keyword;
----------------
MaskRay wrote:
While we can probably switch from value 0 (`PPKEYWORD(not_keyword)`) to `NUM_PP_KEYWORDS`, I'd prefer that we do it separately. Alternatively, we can delete `NUM_PP_KEYWORDS`.
https://github.com/llvm/llvm-project/pull/200634
More information about the cfe-commits
mailing list