[all-commits] [llvm/llvm-project] a3fe12: Ensure that we don't leave behind "InstantiatingSp...
Richard Smith via All-commits
all-commits at lists.llvm.org
Thu Dec 10 17:06:40 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a3fe12dc58aa2a0dd7292d748b7c104225f863ba
https://github.com/llvm/llvm-project/commit/a3fe12dc58aa2a0dd7292d748b7c104225f863ba
Author: Richard Smith <richard at metafoo.co.uk>
Date: 2020-12-10 (Thu, 10 Dec 2020)
Changed paths:
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaTemplateInstantiate.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
Log Message:
-----------
Ensure that we don't leave behind "InstantiatingSpecialization" entries
after destroying an InstantiatingTemplate object.
This previously caused us to (silently!) bail out of class template
instantiation, thinking we'd produced an error, in some corner cases.
More information about the All-commits
mailing list