diff options
| author | Yaron Keren <yaron.keren@gmail.com> | 2016-05-31 13:45:05 +0000 | 
|---|---|---|
| committer | Yaron Keren <yaron.keren@gmail.com> | 2016-05-31 13:45:05 +0000 | 
| commit | a34bfa000fda5d5f0c77700a071b3d08624297d2 (patch) | |
| tree | e1d3252b1468536d75c7ffd84de43da1c1accebe /clang/lib/StaticAnalyzer/Checkers/ChrootChecker.cpp | |
| parent | 8ef3f0fa5b12b0903b4f331ee477efeb5df125d2 (diff) | |
| download | bcm5719-llvm-a34bfa000fda5d5f0c77700a071b3d08624297d2.tar.gz bcm5719-llvm-a34bfa000fda5d5f0c77700a071b3d08624297d2.zip | |
Do not modify a std::vector while looping it. 
Introduced in r271244, this is probably undefined behaviour and asserts when
compiled with Visual C++ debug mode. 
On further note, the loop is quadratic with regard to the number of successors
since removeSuccessor is linear and could probably be modified to linear time.
llvm-svn: 271278
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/ChrootChecker.cpp')
0 files changed, 0 insertions, 0 deletions

