]> granicus.if.org Git - clang/commit
When checking for abstract types, don't crash when we have a
authorDouglas Gregor <dgregor@apple.com>
Tue, 22 Feb 2011 23:21:06 +0000 (23:21 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 22 Feb 2011 23:21:06 +0000 (23:21 +0000)
commit7019186f3c05539698b589a59729b0adfb8ea0a1
treed40b15a3d0e16a02efc87609d9e416a7a5d0f8fb
parent12e3ecec906f65580059a9d8555849a272c2db81
When checking for abstract types, don't crash when we have a
FunctionProtoTypeLoc with NULL function parameter types, which can
occur in invalid code. Fixes PR9247 / <rdar://problem/9037911>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126262 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclCXX.cpp
test/SemaCXX/abstract.cpp