summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/readability-else-after-return.cpp
blob: 2c72b68a92f43494cdbd66016480a981891dc8ec (plain)
1
2
3
4
5
6
7
8
9
10
void f() {

}

void foo() {
  if (true)
    return;
  else
    f();
}