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.
Paths
| Differential D41990
[Frontend] Allow to use PrecompiledPreamble without calling CanReuse ClosedPublic Authored by ilya-biryukov on Jan 12 2018, 6:19 AM.
Details Summary The new method 'OverridePreamble' allows to override the preamble of This is used for completion in clangd.
Diff Detail
Event Timelineilya-biryukov added a child revision: D41991: [clangd] Always use preamble (even stale) for code completion.Jan 12 2018, 6:21 AM sammccall added inline comments.
This revision is now accepted and ready to land.Jan 12 2018, 6:44 AM ilya-biryukov added inline comments. Closed by commit rC322853: [Frontend] Allow to use PrecompiledPreamble without calling CanReuse (authored by ibiryukov). · Explain WhyJan 18 2018, 7:18 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 130408 include/clang/Frontend/PrecompiledPreamble.h
lib/Frontend/PrecompiledPreamble.cpp
|
Simpler just as "/// Requires that CanReuse() is true."