[PATCH] D41416: [modules] [pch] Do not deserialize all lazy template specializations when looking for one.

Vassil Vassilev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 2 13:54:20 PST 2018


v.g.vassilev updated this revision to Diff 128465.
v.g.vassilev added a comment.

Teach `ASTReader::CompleteRedeclChain` to load only the template specializations with the same template argument list.


https://reviews.llvm.org/D41416

Files:
  include/clang/AST/DeclTemplate.h
  lib/AST/DeclTemplate.cpp
  lib/Serialization/ASTReader.cpp
  lib/Serialization/ASTReaderDecl.cpp
  lib/Serialization/ASTWriter.cpp
  lib/Serialization/ASTWriterDecl.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41416.128465.patch
Type: text/x-patch
Size: 19671 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180102/a133724b/attachment-0001.bin>


More information about the cfe-commits mailing list