Skip to content
Unverified Commit 851c248d authored by Kadir Cetinkaya's avatar Kadir Cetinkaya
Browse files

[clang] Prevent possible use-after-free

This prevents further parsing of tokens (that'll be freed) inside method
body by propagating EOF emitted by reaching code completion token up the parsing
stack.

Differential Revision: https://reviews.llvm.org/D158269
parent 59c59a31
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment