[PATCH] Remove PragmaIntroducerKind?

Enea Zaffanella zaffanella at cs.unipr.it
Wed Dec 11 06:28:48 PST 2013


This is a callback and there is code outside of clang using it.
The source location passed down together with the introducer kind is the 
one of the token *following* the introducer (if I am not wrong), so it 
would not be immediate for clients to re-lex to see which introducer it was.

Enea.


On 12/11/2013 02:46 PM, Renato Golin wrote:
> Folks,
>
> I was walking down the Clang code to add the vectorizer pragma and
> found that this parameter is never used. It looks as left-over of when
> it was deemed important, should we keep this, or remove?
>
> The patch attached intends to remove (until it get used again, at least).
>
> Makes sense?
>
> cheers,
> --renato
>



More information about the cfe-commits mailing list