]> granicus.if.org Git - clang/commit
Support decltype in member initializers.
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 24 Jan 2012 06:03:59 +0000 (06:03 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 24 Jan 2012 06:03:59 +0000 (06:03 +0000)
commitf211662199c87461f3b1475a549ab439c63ca83b
treeb85f9799d11d1211e13acdd6350f97bfb786f51b
parent5e089fe1affb63d670ea02010b104bd9fa3477a1
Support decltype in member initializers.

This is the last piece of N3031 (decltype in weird places) - supporting
the use of decltype in a class ctor's member-initializer-list to
specify the base classes to initialize.

Reviewed by Richard Smith.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148789 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/Parse/ParseDeclCXX.cpp
lib/Sema/SemaDeclCXX.cpp
test/SemaCXX/class-base-member-init.cpp