diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-09-05 07:19:39 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-09-05 07:19:39 +0000 |
| commit | 1daa58ea8973854b62e79f0939fa37cb6fed00e6 (patch) | |
| tree | 61ad3d6044f6fe6a13e4431903f9ede0f7a440f4 /lib/CodeGen/CGExpr.cpp | |
| parent | 5d6ae288bc661572e52ea71fc14b249eb5e2d9e9 (diff) | |
| download | clang-1daa58ea8973854b62e79f0939fa37cb6fed00e6.tar.gz clang-1daa58ea8973854b62e79f0939fa37cb6fed00e6.tar.bz2 clang-1daa58ea8973854b62e79f0939fa37cb6fed00e6.tar.xz | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139116 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
