ccotter marked 10 inline comments as done. ccotter added inline comments.
================ Comment at: clang-tools-extra/test/clang-tidy/checkers/modernize/loop-convert-basic.cpp:477 + + for (S::const_iterator It = cbegin(Ss), E = cend(Ss); It != E; ++It) { + printf("s4 has value %d\n", (*It).X); ---------------- PiotrZSL wrote: > what if begin,end is missing, and there is only cbegin, cend then it will > fail with: > "error: invalid range expression of type 'const A'; no viable 'begin' > function available| > This looks to be an already existing bug in the check - mind if I fix that in a separate phab? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D140760/new/ https://reviews.llvm.org/D140760 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits