]> granicus.if.org Git - clang/commit
PR16090: C++1y: treat undeduced 'auto' as a literal type, so that constexpr
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 21 May 2013 22:29:20 +0000 (22:29 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 21 May 2013 22:29:20 +0000 (22:29 +0000)
commitbdaeaed3e3293f1915cdf336f406d4d391331039
treedb19cd2db8ab644e8cfde0b63aa236159c0d1d65
parent440d456c5cf9613a3ee6a3297f892ddd8da5b8f8
PR16090: C++1y: treat undeduced 'auto' as a literal type, so that constexpr
function templates can use it as a return type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182433 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Type.cpp
test/SemaCXX/constant-expression-cxx1y.cpp