Fix bug #36489
Details
Details
Diff Detail
Diff Detail
- Repository
- rCTE Clang Tools Extra
Event Timeline
Comment Actions
Some minor formatting nits, but otherwise LGTM. You should run the patch through clang-format: https://clang.llvm.org/docs/ClangFormat.html#script-for-patch-reformatting
clang-tidy/cppcoreguidelines/ProBoundsPointerArithmeticCheck.cpp | ||
---|---|---|
29 | This extends past the 80-col limit. | |
test/clang-tidy/cppcoreguidelines-pro-bounds-pointer-arithmetic.cpp | ||
12 | Should be int * instead of int* (elsewhere as well). | |
26 | Can you remove the whitespace alignment from the new tests? |
Comment Actions
Does it also work with lambdas (being implicitly auto) that return pointers? A test case for that would be nice.
This extends past the 80-col limit.