Issue 180259
Summary readability-container-data-pointer should warn for `.at(0)` and `.front()`.
Labels new issue
Assignees
Reporter BenFrantzDale
    Presently `&vec[0]` warns but `&vec.front()` and `&vec.at(0)` do not. Granted the last of those could be read as "throw if `vec.empty()` then `vec.data()`...
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to