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)
commita9f926c8b2f67b6838d1517710b570e24b4964fc
treeab786238a5f52475f9292d4103e5b91cece809a7
parent4db9dc6f8109aed80628632f29f6c3a578be41dd
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

llvm-svn: 372624
clang/include/clang/AST/Type.h
clang/test/SemaCXX/type-traits.cpp