]> granicus.if.org Git - clang/commit
Fix __is_fundamental to accept nullptr_t
authorZoe Carver <z.zoelec2@gmail.com>
Mon, 23 Sep 2019 16:02:46 +0000 (16:02 +0000)
committerZoe Carver <z.zoelec2@gmail.com>
Mon, 23 Sep 2019 16:02:46 +0000 (16:02 +0000)
commit5b460ada78b12b9d38511a4305b4a04886e8884a
treeb3c1675377cbbe8bf405f9802488f2af54e353ec
parentee61cebc3609fb8cdb968e0e6d0c54f22d868dcc
Fix __is_fundamental to accept nullptr_t

    Summary: This patch updates the __is_fundamental builtin type trait to return true for nullptr_t.

    Reviewers: rsmith, EricWF, efriedma, craig.topper, erichkeane

    Subscribers: cfe-commits

    Tags: #clang

    Differential Revision: https://reviews.llvm.org/D67899

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372624 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Type.h
test/SemaCXX/type-traits.cpp