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 | 1349b457eee7240bb8022483db59d7edc87d6b47 (patch) | |
| tree | ed4883aeac904e97986d7c8aa05d1e3cb9486eab /clang/lib/Sema/SemaInit.cpp | |
| parent | 1c731fa86f493d08958a06a90e5853b3580f40a4 (diff) | |
| download | bcm5719-llvm-1349b457eee7240bb8022483db59d7edc87d6b47.tar.gz bcm5719-llvm-1349b457eee7240bb8022483db59d7edc87d6b47.zip | |
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.
llvm-svn: 61048
Diffstat (limited to 'clang/lib/Sema/SemaInit.cpp')
0 files changed, 0 insertions, 0 deletions

