diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-11-29 01:34:07 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-11-29 01:34:07 +0000 |
commit | afb49189d6962f3636d6a93d09c0b495e94ac782 (patch) | |
tree | 1a1ac5b10c016ced7b71a9e400ae92ddd79787ce /lib/Frontend/InitPreprocessor.cpp | |
parent | a4317709127e3b63c44a34f9fa1c3f8abe6a77a3 (diff) |
The declaration of a special member can require overload resolution to be
performed, to determine whether that special member is deleted or constexpr.
That overload resolution process can in turn trigger the instantiation of a
template, which can do anything, including triggering the declaration of that
very same special member function. When this happens, do not try to recursively
declare the special member -- that's impossible. Instead, only try to realise
the truth. There is no special member.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168847 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions