[clang] [serialization] No transitive type change (PR #92511)

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 20 03:54:32 PDT 2024


================
@@ -7151,15 +7135,45 @@ TypeSourceInfo *ASTRecordReader::readTypeSourceInfo() {
   return TInfo;
 }
 
+static unsigned getIndexForTypeID(serialization::TypeID ID) {
+  return (ID & llvm::maskTrailingOnes<TypeID>(32)) >> Qualifiers::FastWidth;
+  ;
----------------
ChuanqiXu9 wrote:

Done

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


More information about the cfe-commits mailing list