Ariel-Burton added inline comments.
================ Comment at: clang/lib/Sema/SemaType.cpp:7116 + for (;;) { + if (const TypedefType *TT = dyn_cast<TypedefType>(Desugared)) { + Desugared = TT->desugar(); ---------------- rnk wrote: > This seems like a good place to use getSingleStepDesugaredType to look > through all type sugar (parens, typedefs, template substitutions, etc). > This seems like a good place to use getSingleStepDesugaredType to look > through all type sugar (parens, typedefs, template substitutions, etc). I'm not sure what you mean. Could you expand a little, please? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D130123/new/ https://reviews.llvm.org/D130123 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits