This patch fixes the implementations of the __has_trivial_destructor
authorDouglas Gregor <dgregor@apple.com>
Thu, 23 Jul 2009 23:49:00 +0000 (23:49 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 23 Jul 2009 23:49:00 +0000 (23:49 +0000)
commit79f83eda848b474a7839220bc98306ac8eb56c9f
treed32df6f4ff893e9c5f80ac484e74375327b63f96
parent91ade1419748a8b092a6e634d2a126a01fb05f2d
This patch fixes the implementations of the __has_trivial_destructor
and __has_trivial_constructor builtin pseudo-functions and
additionally implements __has_trivial_copy and __has_trivial_assign,
from John McCall!

llvm-svn: 76916
clang/include/clang/AST/ASTContext.h
clang/include/clang/AST/ExprCXX.h
clang/include/clang/AST/Type.h
clang/lib/AST/ASTContext.cpp
clang/lib/AST/DeclCXX.cpp
clang/lib/AST/ExprCXX.cpp
clang/lib/AST/ExprConstant.cpp
clang/lib/AST/Type.cpp
clang/lib/Parse/ParseExpr.cpp
clang/lib/Sema/SemaDecl.cpp
clang/test/SemaCXX/type-traits.cpp