]> granicus.if.org Git - clang/commit
Implement delegating constructors partially.
authorSean Hunt <scshunt@csclub.uwaterloo.ca>
Sat, 26 Feb 2011 19:13:13 +0000 (19:13 +0000)
committerSean Hunt <scshunt@csclub.uwaterloo.ca>
Sat, 26 Feb 2011 19:13:13 +0000 (19:13 +0000)
commit4171766318a2564fbc9a739be0a2851f441c0d29
tree7efce9487dc0c0f09b14f0feba695e2c09ab92dd
parent448d2cdce2dd8360c09f4187cd7bbebf16ff964d
Implement delegating constructors partially.

This successfully performs constructor lookup and verifies that a
delegating initializer is the only initializer present.

This does not perform loop detection in the initialization, but it also
doesn't codegen delegating constructors at all, so this won't cause
runtime infinite loops yet.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126552 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclCXX.h
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Initialization.h
include/clang/Sema/Sema.h
lib/AST/DeclCXX.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaInit.cpp