commit | 4b762a91faac0473fa380ea9731992b24867e2e6 | [log] [tgz] |
---|---|---|
author | Alexander Kornienko <alexfh@google.com> | Mon Sep 02 13:58:14 2013 +0000 |
committer | Alexander Kornienko <alexfh@google.com> | Mon Sep 02 13:58:14 2013 +0000 |
tree | 6d344280ae5eb09743ba4d35ef844af730217776 | |
parent | 3361f10d6b21327b082c53facef0741c13b2ffa7 [diff] |
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