]> granicus.if.org Git - clang/commit
Support decltype as a simple-type-specifier.
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 24 Jan 2012 05:47:35 +0000 (05:47 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 24 Jan 2012 05:47:35 +0000 (05:47 +0000)
commit5e089fe1affb63d670ea02010b104bd9fa3477a1
treeefbc3d4783da036bfecb38b64b8c1a23f276296f
parent495f42a32610c03591b49cd06ac09c5408742f86
Support decltype as a simple-type-specifier.

This makes all sorts of fun examples work with decltype.
Reviewed by Richard Smith.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148787 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseExpr.cpp
lib/Parse/ParseExprCXX.cpp
lib/Parse/ParseTentative.cpp
test/CXX/expr/expr.post/expr.type.conv/p1-0x.cpp [new file with mode: 0644]
test/CXX/stmt.stmt/stmt.ambig/p1-0x.cpp [new file with mode: 0644]