Skip to content
Commit 17ff23c7 authored by Benjamin Kramer's avatar Benjamin Kramer
Browse files

Speed up BCPL comment lexing by looking aggressively for newlines and then...

Speed up BCPL comment lexing by looking aggressively for newlines and then scannig backwards to see if the newline is escaped.

3% speedup in preprocessing all of clang with -Eonly. Also includes a small testcase for coverage.

llvm-svn: 139116
parent dbfb18a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment