diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2010-08-25 08:27:02 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2010-08-25 08:27:02 +0000 |
commit | 58e390ef491c8fb11ae17445054ee09527b492d3 (patch) | |
tree | 4feae5dcb201c19aacc92fa153bed7092f981bc7 /lib/Sema/SemaCodeComplete.cpp | |
parent | 384aff8b94bb0d1ad6c5667b90621e5699815bb2 (diff) |
Support explicit instantiation of function templates and members of class
templates when only the declaration is in scope. This requires deferring the
instantiation to be lazy, and ensuring the definition is required for that
translation unit. We re-use the existing pending instantiation queue,
previously only used to track implicit instantiations which were required to be
lazy. Fixes PR7979.
A subsequent change will rename *PendingImplicitInstantiations to
*PendingInstatiations for clarity given its broader role.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112037 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions