aboutsummaryrefslogtreecommitdiff
path: root/lib/Parse/ParseDecl.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-09-04 03:32:04 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-09-04 03:32:04 +0000
commitc8c97a03eb0fdeb4f5fc9c4dea308ebbf46c2c93 (patch)
treefd8c149171af2c47edc2c0f1af179efe8a6f04c3 /lib/Parse/ParseDecl.cpp
parentfec0959f95454b4241e3060408656e8fbe4ac6c1 (diff)
Fix Lexer::ComputePreamble when MaxLines parameter is non-zero.
The function was only counting lines that included tokens and not empty lines, but MaxLines (mainly initiated to the line where the code-completion point resides) is a count of overall lines (even empty ones). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139085 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseDecl.cpp')
0 files changed, 0 insertions, 0 deletions