]> granicus.if.org Git - clang/commit
Fix: <rdar://problem/7021553> clang -fsyntax-only crashes (in ParseDeclarationSpecifi...
authorTed Kremenek <kremenek@apple.com>
Tue, 30 Jun 2009 22:19:00 +0000 (22:19 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 30 Jun 2009 22:19:00 +0000 (22:19 +0000)
commit1bc5bbf39a26d2604884216a511bd51aec1784f6
tree29799bdb38233c45f12690853d4b562433813db0
parent5ac3dfc24bd2d8c5c0d9955f5de33c97e6aaaadf
Fix: <rdar://problem/7021553> clang -fsyntax-only crashes (in ParseDeclarationSpecifiers ... from ParseObjCTypeName)

Another case where we should use SmallVector::data() instead of taking the
address of element 0 of a SmallVector when the SmallVector has no elements.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74556 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseDecl.cpp