================ @@ -1996,7 +1996,7 @@ class alignas(TypeAlignment) Type : public ExtQualsTypeCommonBase { TypeBits.Dependence = static_cast<unsigned>(Dependence); TypeBits.CacheValid = false; TypeBits.CachedLocalOrUnnamed = false; - TypeBits.CachedLinkage = NoLinkage; + TypeBits.CachedLinkage = llvm::to_underlying(Linkage::Invalid); ---------------- Endilll wrote:
CC @AaronBallman This passes Clang tests with all those `llvm_unreachable` around, so I'm rather confident about this. Note that I removed `NFC` tag from the title. https://github.com/llvm/llvm-project/pull/71049 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits