r249090 - Don't try to get a CXXRecordDecl from a non-class TemplateSpecializationType.

2015-10-01 Thread Kaelyn Takata via cfe-commits
Author: rikka Date: Thu Oct 1 17:38:51 2015 New Revision: 249090 URL: http://llvm.org/viewvc/llvm-project?rev=249090=rev Log: Don't try to get a CXXRecordDecl from a non-class TemplateSpecializationType. With -fms-extensions it is possible to have a non-class record that is a template

r248928 - Don't correct non-class using declarations to class members.

2015-09-30 Thread Kaelyn Takata via cfe-commits
Author: rikka Date: Wed Sep 30 13:23:35 2015 New Revision: 248928 URL: http://llvm.org/viewvc/llvm-project?rev=248928=rev Log: Don't correct non-class using declarations to class members. Such declarations would be invalid anyway, and trying to make the correction will lead to a crash. Fixes PR