aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/clang-tidy/misc/InefficientAlgorithmCheck.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2015-08-31 12:08:11 +0000
committerTobias Grosser <tobias@grosser.es>2015-08-31 12:08:11 +0000
commit050e0cbc0ec3d66b508390611ecf432c28b3e591 (patch)
tree4244cfe6e162390e3112798dc3d5b38612a75b98 /clang-tools-extra/clang-tidy/misc/InefficientAlgorithmCheck.cpp
parent59ac3393572133dad7a013f6a75e69d0fb1c6093 (diff)
downloadllvm-050e0cbc0ec3d66b508390611ecf432c28b3e591.zip
llvm-050e0cbc0ec3d66b508390611ecf432c28b3e591.tar.gz
llvm-050e0cbc0ec3d66b508390611ecf432c28b3e591.tar.bz2
ScopDetection: Correctly count the loops in a region
There is no reason the loops in a region need to touch either entry or exit block. Hence, we need to look through all loops that may touch the region as well as their children to understand if our region has at least two loops. llvm-svn: 246433
Diffstat (limited to 'clang-tools-extra/clang-tidy/misc/InefficientAlgorithmCheck.cpp')
0 files changed, 0 insertions, 0 deletions