diff options
| author | Douglas Gregor <dgregor@apple.com> | 2009-10-01 20:44:19 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2009-10-01 20:44:19 +0000 |
| commit | 4513272f444c59705123ccb6207414ce62c9a568 (patch) | |
| tree | 148a26d62eae4944dcd8e632862e369c4feeed9c /lib/CodeGen/CodeGenModule.cpp | |
| parent | 249ceade4942a2a5d7888541c547abeda5bb85b4 (diff) | |
| download | clang-4513272f444c59705123ccb6207414ce62c9a568.tar.gz clang-4513272f444c59705123ccb6207414ce62c9a568.tar.bz2 clang-4513272f444c59705123ccb6207414ce62c9a568.tar.xz | |
CodeGen may see out-of-line declarations of the various special member
functions when they are explicitly declared, e.g., via a function
template specialization or explicit template instantiation
declaration. Don't try to synthesize bodies for the special member
functions in this case; rather, check whether we have an implicit
declaration and, if so, synthesize the appropriate function
body. Fixes PR5084.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83212 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
