diff options
author | Vlad Serebrennikov <serebrennikov.vladislav@gmail.com> | 2024-02-14 16:39:00 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-14 16:39:00 +0400 |
commit | 502756905c7de5f6217a071b73adda72c46ffd1c (patch) | |
tree | cadfcc25cff3497c8556e8bcb136cbe617aaa467 /llvm/unittests/ProfileData/CoverageMappingTest.cpp | |
parent | debca7ee43522e1702ade36f4954517e35f82886 (diff) | |
download | llvm-502756905c7de5f6217a071b73adda72c46ffd1c.zip llvm-502756905c7de5f6217a071b73adda72c46ffd1c.tar.gz llvm-502756905c7de5f6217a071b73adda72c46ffd1c.tar.bz2 |
[clang][NFC] Use "notable" for "interesting" identifiers in `IdentifierInfo` (#81542)
This patch expands notion of "interesting" in `IdentifierInto` it to
also cover ObjC keywords and builtins, which matches notion of
"interesting" in serialization layer. What was previously "interesting"
in `IdentifierInto` is now called "notable".
Beyond clearing confusion between serialization and the rest of the
compiler, it also resolved a naming problem: ObjC keywords, notable
identifiers, and builtin IDs are all stored in the same bit-field. Now
we can use "interesting" to name it and its corresponding type, instead
of `ObjCKeywordOrInterestingOrBuiltin` abomination.
Diffstat (limited to 'llvm/unittests/ProfileData/CoverageMappingTest.cpp')
0 files changed, 0 insertions, 0 deletions