[PATCH] D48314: [Frontend] Cache preamble-related data
Ivan Donchevskii via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 19 01:09:15 PDT 2018
yvvan created this revision.
yvvan added reviewers: ilya-biryukov, arphaman, erikjv.
In case two translation units are created for the same file - reuse preamble data to reduce memory and save time on extra preamble generation.
https://reviews.llvm.org/D48314
Files:
include/clang/Frontend/ASTUnit.h
lib/Frontend/ASTUnit.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48314.151861.patch
Type: text/x-patch
Size: 25871 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180619/66214f44/attachment-0001.bin>
More information about the cfe-commits
mailing list