[PATCH] D41990: [Frontend] Allow to use PrecompiledPreamble without calling CanReuse

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 12 06:19:06 PST 2018


ilya-biryukov created this revision.
ilya-biryukov added reviewers: bkramer, sammccall.

The new method 'OverridePreamble' allows to override the preamble of
any source file without checking if preamble bounds or dependencies
were changed.

This is used for completion in clangd.


Repository:
  rC Clang

https://reviews.llvm.org/D41990

Files:
  include/clang/Frontend/PrecompiledPreamble.h
  lib/Frontend/PrecompiledPreamble.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41990.129613.patch
Type: text/x-patch
Size: 5114 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180112/cd248800/attachment.bin>


More information about the cfe-commits mailing list