diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-05-22 22:03:22 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-05-22 22:03:22 +0000 |
commit | d59a5bd0ab7821a643c540df8c84c70fef76a1c2 (patch) | |
tree | c7f9cc44492ec612a7b7b3e2d32c76535f881340 /lib/Frontend/PCHReaderDecl.cpp | |
parent | b5ff6bfaf4bff6c70042600ad4070518440cec4a (diff) |
Modify begin()/end() for AsmStmt iterators to handle the case when Exprs.empty()
is true. Because of recent changes to llvm::SmallVector, using these iterators
when Exprs was empty would cause an assertion failure.
This fixes: PR 4245.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72286 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHReaderDecl.cpp')
0 files changed, 0 insertions, 0 deletions