cor3ntin added a comment. LGTM except the arguably missing tests.
================ Comment at: clang/lib/Sema/SemaDecl.cpp:11886-11887 + // - an enumerator for an enumeration that is a templated entity, or + // - the closure type of a lambda-expression ([expr.prim.lambda.closure]) + // appearing in the declaration of a templated entity. [Note 6: A local + // class, a local or block variable, or a friend function defined in a ---------------- I think we have no test for this case, might be worth adding. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D147070/new/ https://reviews.llvm.org/D147070 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits