Sean Callanan
732a6f432e
[TypeSystem] Fix inspection of Objective-C object types
...
ptr_refs exposed a problem in ClangASTContext's implementation: it
uses an accessor to downcast a QualType to an
ObjCObjectPointerType, but the accessor is not fully general.
getAs() is the safer way to go.
I've added a test case that uses ptr_refs in a way that would
crash before the fix.
<rdar://problem/31363513>
llvm-svn: 303110
2017-05-15 19:55:20 +00:00
..
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2017-05-03 11:27:35 +00:00
2016-09-06 20:57:50 +00:00
2016-12-09 17:54:59 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-10-14 01:11:19 +00:00
2016-10-20 00:03:39 +00:00
2016-10-20 00:03:39 +00:00
2016-10-20 00:03:39 +00:00
2016-10-20 00:03:39 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-10-14 01:03:03 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-10-24 21:46:46 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-09-30 16:02:28 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-12-09 17:54:59 +00:00
2016-09-06 20:57:50 +00:00
2016-10-18 01:43:22 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2017-05-15 19:55:20 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-12-01 17:46:51 +00:00
2016-09-06 20:57:50 +00:00