[clang] [Serialization] No transitive identifier change (PR #92085)

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 3 09:34:36 PDT 2024


================
@@ -918,7 +918,7 @@ ASTSelectorLookupTrait::ReadKey(const unsigned char* d, unsigned) {
   SelectorTable &SelTable = Reader.getContext().Selectors;
   unsigned N = endian::readNext<uint16_t, llvm::endianness::little>(d);
   const IdentifierInfo *FirstII = Reader.getLocalIdentifier(
-      F, endian::readNext<uint32_t, llvm::endianness::little>(d));
+      F, endian::readNext<IdentifierID, llvm::endianness::little>(d));
----------------
jansvoboda11 wrote:

You're right, it would fail when looking for a `getSwappedBytes()` overload.

https://github.com/llvm/llvm-project/pull/92085


More information about the cfe-commits mailing list