diff options
| author | Ted Kremenek <kremenek@apple.com> | 2008-10-06 20:58:11 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2008-10-06 20:58:11 +0000 |
| commit | 11b004216c2bb5790588b6a33cde87c07135e21d (patch) | |
| tree | b3682d9fdeb1617f417dfef1f1987624c19794f3 /llvm/utils/NightlyTest.gnuplot | |
| parent | ef52c641e75f9d25bffeee4eba9ebc786db7c498 (diff) | |
| download | bcm5719-llvm-11b004216c2bb5790588b6a33cde87c07135e21d.tar.gz bcm5719-llvm-11b004216c2bb5790588b6a33cde87c07135e21d.zip | |
When processing Objective-C foreach statements, first check to see if the statement has a DeclStmt with a single Decl. Afterwards, use DeclStmt::getSolitaryDecl() to access that Decl (thus avoiding an assertion being triggered). These changes remove an unneeded use of ScopedDecl::getNextDeclarator() and DeclStmt::getDecl().
llvm-svn: 57207
Diffstat (limited to 'llvm/utils/NightlyTest.gnuplot')
0 files changed, 0 insertions, 0 deletions

