diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2017-08-10 03:05:21 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2017-08-10 03:05:21 +0000 |
| commit | 9c161e894af3dd7f54dd29218a476bc270864d24 (patch) | |
| tree | 16221f33d61563f35849afe9cc7be5abb99f602b /llvm/lib/Analysis/BasicAliasAnalysis.cpp | |
| parent | a95eae2d4b87e19e3d27aed844f9d6762b55de8a (diff) | |
| download | bcm5719-llvm-9c161e894af3dd7f54dd29218a476bc270864d24.tar.gz bcm5719-llvm-9c161e894af3dd7f54dd29218a476bc270864d24.zip | |
[LCG] Fix an assert in a on-scope-exit lambda that checked the contents
of the returned value.
Checking the returned value from inside of a scoped exit isn't actually
valid. It happens to work when NRVO fires and the stars align, which
they reliably do with Clang but don't, for example, on MSVC builds.
llvm-svn: 310547
Diffstat (limited to 'llvm/lib/Analysis/BasicAliasAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions

