Skip to content
Commit f95a0004 authored by Argyrios Kyrtzidis's avatar Argyrios Kyrtzidis
Browse files

[index] Fix issue with protocol name locations in conformance list of an ObjC...

[index] Fix issue with protocol name locations in conformance list of an ObjC class when they come from a typedef.

The ObjC class protocol list assumes there is an associated location for each protocol but no location is provided
when the protocol list comes from a typedef, and we end up with a buffer overflow when trying to get locations for the protocol names.

Fixes crash of rdar://28980278.

llvm-svn: 286331
parent 0f1ddfa8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment