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

After late parsing an objc method, make sure there are no leftover cached tokens,

because the memory associated with them is going to get released.
We also don't want them to affect later parsing.
(We do the same for C++ inline methods.)

The underlying cause for the leftover tokens is going to be addressed in the
next commit.

Couldn't get a test case for the crash though. rdar://10583033.

llvm-svn: 146814
parent 79281d1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment