]> granicus.if.org Git - clang/commit
Don't crash when forming a destructor name on an incomplete type.
authorJohn McCall <rjmccall@apple.com>
Sun, 11 Jun 2017 20:33:00 +0000 (20:33 +0000)
committerJohn McCall <rjmccall@apple.com>
Sun, 11 Jun 2017 20:33:00 +0000 (20:33 +0000)
commit414d1fa14aa912f088a0ec6044e1f24bee1ba945
treeb6f6515e6d887ddce0d924c7e138b1d4c4957d88
parent4cea5b6e609fae0b2132842265ef9f5a4cefd2d0
Don't crash when forming a destructor name on an incomplete type.

Fixes PR25156.

Patch by Don Hinton!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@305169 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExprCXX.cpp
test/SemaCXX/nested-name-spec.cpp