diff options
| author | Alexander Kornienko <alexfh@google.com> | 2013-09-02 13:58:14 +0000 |
|---|---|---|
| committer | Alexander Kornienko <alexfh@google.com> | 2013-09-02 13:58:14 +0000 |
| commit | 4b762a91faac0473fa380ea9731992b24867e2e6 (patch) | |
| tree | 6d344280ae5eb09743ba4d35ef844af730217776 /lib/CodeGen/CGExpr.cpp | |
| parent | 3361f10d6b21327b082c53facef0741c13b2ffa7 (diff) | |
| download | clang-4b762a91faac0473fa380ea9731992b24867e2e6.tar.gz clang-4b762a91faac0473fa380ea9731992b24867e2e6.tar.bz2 clang-4b762a91faac0473fa380ea9731992b24867e2e6.tar.xz | |
Store first and last newline position in the token text for string literals and comments.
Summary:
Store first and last newline position in the token text for string literals and
comments to avoid doing .find('\n') for each possible solution.
Reviewers: djasper
Reviewed By: djasper
CC: cfe-commits, klimek
Differential Revision: http://llvm-reviews.chandlerc.com/D1556
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189758 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
