Rakete1111 added inline comments.
================ Comment at: lib/Sema/SemaLambda.cpp:510 + for (const auto &Capture: Captures) { + if (Capture.Id && Capture.Id->getName() == Param->getName()) { + Error = true; ---------------- erik.pilkington wrote: > You should compare `IdentifierInfo`s here, rather than `StringRef`s. `IdentifierInfo` doesn't have a compare equal or `operator==` function. How do you propose I do that? Do I add one? Repository: rC Clang https://reviews.llvm.org/D53595 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits