Better approach to detecting explicitly deleted/defaulted functions

Authored by arichardson.

Description

Better approach to detecting explicitly deleted/defaulted functions

We now iterate backwards over the tokens so we can stop as soon as we
encounter a closing parenthesis (the end of the function parameter list)
This makes the code a lot simpler and also faster.

REVIEW: 125301

Details

Committed
arichardsonSep 24 2015, 2:39 PM
Parents
R32:9e9c20556d6b: Add a RAII class for clang_tokenize
Branches
Unknown
Tags
Unknown