[cland] Dont emit missing newline warnings when building preamble
When building preamble, clangd truncates file contents. This yielded errnous warnings in some cases. This patch fixes the issue by turning off no-newline-at-eof warnings whenever the file has more contents than the preamble. Fixes https://github.com/clangd/clangd/issues/744. Differential Revision: https://reviews.llvm.org/D100501
parent
d9a9c992
Please register or sign in to comment