================ @@ -7392,27 +7388,28 @@ QualType ASTReader::GetType(TypeID ID) { return TypesLoaded[Index].withFastQualifiers(FastQuals); } -QualType ASTReader::getLocalType(ModuleFile &F, unsigned LocalID) { +QualType ASTReader::getLocalType(ModuleFile &F, TypeID LocalID) { ---------------- ChuanqiXu9 wrote:
Agreed. I tried to address this by introducing a new type alias `using LocalTypeID = TypeID;` with a FIXME that we'd better to make them classes like we did for DeclID. Then at least I believe the interface will have better readability. https://github.com/llvm/llvm-project/pull/92511 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits