[cfe-commits] [PATCH] Rewrite "#pragma clang arc_cf_code_audited" impl to play well with parser lookahead
eli.friedman at gmail.com
Tue Oct 9 16:58:30 PDT 2012
On Mon, Oct 8, 2012 at 7:13 PM, Eli Friedman <eli.friedman at gmail.com> wrote:
> Per subject, rewrite "#pragma clang arc_cf_code_audited"
> implementation to be entirely in Parser/Sema; depending on Lexer state
> for this pragma messes up parser lookahead.
> There isn't really anything specific I want to call out for
> discussion, but I think John will want to take a look before I commit
John and I discussed this in person; John wants to keep the exact
existing lexer rules for this pragma, so I'm going to rewrite this
patch so it both keeps the existing Lexer logic and independently
tracks the annotation-token-based state in Sema.
More information about the cfe-commits