summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/readability-non-const-parameter.cpp
blob: 5a0ffd0e302f8c33a6d31065dacf15925cf40012 (plain)
1
2
3
4
5
void warn1(int *first, int *last) {
  *first = 0;
  if (first < last) {
  }
}