[PATCH] D20821: Fix a few issues while skipping function bodies

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 9 13:46:09 PDT 2016


rsmith added a comment.

Please call `Parser::ConsumeAndStoreFunctionPrologue` rather than trying to reinvent it. You're still getting a number of cases wrong that it handles properly.

You also need to handle the case where the code completion token appears within the constructor *mem-initializer*s.


http://reviews.llvm.org/D20821





More information about the cfe-commits mailing list