ilya-biryukov added a comment.

Thanks for the suggestion, this should definitely work! I did struggle to 
figure out a way to do this without annotating every path with `enterUnknown` 
and failed.
I'll try playing around with your idea, my initial plan is to store preferred 
type alongside the current token as a member of the `Parser` class and update 
it when advancing to next token, when the parser backtracks and in the places 
where we care about propagating the types.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56723/new/

https://reviews.llvm.org/D56723



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to