]> granicus.if.org Git - clang/commit
[libclang] Don't pad the main buffer for the preamble.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sun, 9 Mar 2014 04:24:57 +0000 (04:24 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sun, 9 Mar 2014 04:24:57 +0000 (04:24 +0000)
commit8f6e31469d7d7c7afe8523a96673cba40a7bc355
tree18231a8d6ca24fd33db01d4b89fab4d4913bdcf9
parent5c167210872219ff3465572d8186f89bcbeff7e6
[libclang] Don't pad the main buffer for the preamble.

Padding does not seem to be useful currently, and it leads to bogus location if an error
points to the end of the file.

rdar://15836513

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203370 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Frontend/ASTUnit.h
lib/Frontend/ASTUnit.cpp
test/Index/preamble-reparse-warn-end-of-file.c [new file with mode: 0644]
test/Index/preamble-reparse-warn-macro.c [new file with mode: 0644]