[cfe-dev] Bug: Lexer::getLocForEndOfToken() returns a position too far for a token which include backslash-newline pairs
Marcin Kowalczyk
qrczak at google.com
Tue Apr 5 10:37:39 PDT 2011
On Tue, Apr 5, 2011 at 7:34 PM, Ted Kremenek <kremenek at apple.com> wrote:
>
> What is the impact on performance here (if any)?
I would expect the corrected code to be slightly faster.
getFileLocWithOffset() does mostly an addition, while
AdvanceToTokenCharacter() scans the token character by character.
--
Marcin Kowalczyk
More information about the cfe-dev
mailing list