commit | 564f4c5664f552becbd05407611a92754c40e641 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Mar 22 03:35:28 2012 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Mar 22 03:35:28 2012 +0000 |
tree | 80d9f49c6ecbf7436b4a7aa8dc9791f20d96fe38 | |
parent | 9293fff58aa0198fa7a6bb504169bcac01dbbff7 [diff] |
During the instantiation of a class template specialization, that specialization is known to be incomplete. If we're asked to try to complete it, don't attempt to instantiate it again -- that can lead to stack overflow, and to rejects-valids if the class being incomplete is not an error. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153236 91177308-0d34-0410-b5e6-96231b3b80d8