[Lldb-commits] [PATCH] D33077: [TypeSystem] Fix inspection of Objective-C object types
Sean Callanan via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed May 10 15:41:00 PDT 2017
spyffe created this revision.
`ptr_refs` exposed a problem in ClangASTContext's implementation; it uses an accessor to convert a `QualType` into 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5355 bytes
Desc: not available
More information about the lldb-commits