diff options
author | Douglas Gregor <dgregor@apple.com> | 2008-12-15 21:24:18 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2008-12-15 21:24:18 +0000 |
commit | 9e7d9de3ef538c1473248238b76a6d7b16f5f684 (patch) | |
tree | 272828d09e3dd9dfbcbd05538158ee64fa7312fe /lib/CodeGen/ModuleBuilder.cpp | |
parent | 9fed5169477cfca54e97069bca035f6453b1ab84 (diff) |
Place constructors and destructors into the DeclContext of the class,
just like all other members, and remove the special variables in
CXXRecordDecl to store them. This eliminates a lot of special-case
code for constructors and destructors, including
ActOnConstructor/ActOnDeclarator and special lookup rules in
LookupDecl. The result is far more uniform and manageable.
Diagnose the redeclaration of member functions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61048 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions