summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/readability-container-size-empty.cpp
blob: 1dcfe68bd7e0789b82f02ba03933adcfb041da5e (plain)
1
2
3
4
5
6
7
#include "structures.h"

void foo() {
  std::string a;
  if (a.size())
    return;
}