]> granicus.if.org Git - clang/commit
[Sema] __is_constructible should return false for function types
authorDavid Majnemer <david.majnemer@gmail.com>
Fri, 13 Nov 2015 05:32:43 +0000 (05:32 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Fri, 13 Nov 2015 05:32:43 +0000 (05:32 +0000)
commit4f15f7f589795322f7af987e1b8405c3697c2a9f
treee17b10e98f4771e7e7e8624293b3ff5b18408e9a
parent2a187521f3c7bde806f322da3acf905afb2b82a8
[Sema] __is_constructible should return false for function types

While functions types are complete, they cannot be constructed.

This fixes PR25513.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@253013 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExprCXX.cpp
test/SemaCXX/type-traits.cpp