]> granicus.if.org Git - clang/commit
PR13978: A 'decltype' DeclSpec has an expression representation, not a type
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 1 Oct 2012 20:35:07 +0000 (20:35 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 1 Oct 2012 20:35:07 +0000 (20:35 +0000)
commitc4a839101e883261d038a1d5ea718dd46abd1d2d
treeda1a42024f66928c8de0c835dda535f4274f51d2
parentbbff82f302a1dd67589f65912351978905f0c5a7
PR13978: A 'decltype' DeclSpec has an expression representation, not a type
representation. Fix crash if it appears in the return type of a member function
definition.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164967 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/SemaCXX/decltype-overloaded-functions.cpp