[PATCH v3 7/9] Add another keyword-selection flag to CorrectionCandidateCallback.

Kaelyn Takata rikka at google.com
Mon Jul 28 11:23:32 PDT 2014


On Fri, Jul 25, 2014 at 2:53 PM, Richard Smith <richard at metafoo.co.uk>
wrote:

> On Mon, Jul 14, 2014 at 4:55 PM, Kaelyn Takata <rikka at google.com> wrote:
>
>>
>> The new flag, WantFunctionLikeCasts, covers a subset of the keywords
>> covered by WantTypeSpecifiers that can be used in casts that look like
>> function calls, e.g. "return long(5);", while excluding the keywords
>> like "enum" and "const" that would be included when WantTypeSpecifiers
>> is true but cannot be used in something that looks like a function call.
>
>
> Can this be tested and committed independently of the other TypoExpr
> changes?
>

Yup, I managed to come up with a test for it. :) Committed as r214109.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140728/c510b6e6/attachment.html>


More information about the cfe-commits mailing list