erichkeane requested changes to this revision. erichkeane added inline comments. This revision now requires changes to proceed.
================ Comment at: clang/lib/AST/Type.cpp:3374 auto &ExtraBits = *getTrailingObjects<FunctionTypeExtraBitfields>(); - ExtraBits.NumExceptionType = epi.ExceptionSpec.Exceptions.size(); + auto NumExceptions = epi.ExceptionSpec.Exceptions.size(); + assert(NumExceptions <= UINT16_MAX && ---------------- So this isn't a place where we're allowed to use `auto`. We can only use it if the type is listed on the RHS (like in the case of casts/etc). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D152140/new/ https://reviews.llvm.org/D152140 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits