arphaman added a comment. There's also a crash with the `( ... )` initializer:
namespace init_capture_undeclared_identifier { auto a = [x = y]{}; int typo_foo; auto b = [x (typo_boo )]{}; } I think you should move the added correction code before `if (Init.isUsable())` to ensure that all paths are covered. https://reviews.llvm.org/D36853 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits