summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB/UDTLayout.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2018-03-29 18:29:12 +0000
committerRui Ueyama <ruiu@google.com>2018-03-29 18:29:12 +0000
commitfb1db6ae43c6d31811bf3f6f3246b3e07ef983de (patch)
tree35180452636834491769ddafe5bfb5605ecd3cfe /llvm/lib/DebugInfo/PDB/UDTLayout.cpp
parent09fcdbc1311daec3e25a5f342ad8dfb758f16f4a (diff)
downloadbcm5719-llvm-fb1db6ae43c6d31811bf3f6f3246b3e07ef983de.tar.gz
bcm5719-llvm-fb1db6ae43c6d31811bf3f6f3246b3e07ef983de.zip
Exit early from a loop. NFC.
This patch fixes an issue introduced in r328810 which made the algorithm to always run the loop O(n^2) times, though we can break early. The output remains the same. llvm-svn: 328811
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/UDTLayout.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud