Commit f7e19a59 authored by Argyrios Kyrtzidis's avatar Argyrios Kyrtzidis
Browse files

[Lex] Keep track of skipped preprocessor blocks and advance the lexer directly...

[Lex] Keep track of skipped preprocessor blocks and advance the lexer directly if they are revisited

This speeds up preprocessing, specifically for preprocessing the clang sources time is reduced by about -36%,
using measurements on M1Pro with a release+thinLTO build.

Differential Revision: https://reviews.llvm.org/D127379
parent 7735653e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment