]> granicus.if.org Git - clang/commit
If a TST_typename has a null type, mark the declarator invalid. Prevents
authorJohn McCall <rjmccall@apple.com>
Fri, 30 Jul 2010 05:17:22 +0000 (05:17 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 30 Jul 2010 05:17:22 +0000 (05:17 +0000)
commit27940d2fb346325d6001a7661e4ada099cd8e59c
tree6c062dd733a4fd0c65849dfe1488a542a053b306
parent85aca0f6a9da02bda705690fd56d0aa713604f08
If a TST_typename has a null type, mark the declarator invalid.  Prevents
some downstream crashes, among them rdar://problem/8229840.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109850 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaType.cpp