summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ASTWriter.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-04-30 09:17:49 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-04-30 09:17:49 +0000
commitc1ce4f58e6721662f4be5421660eeee8d5df11ee (patch)
tree3cd49e01db22b2b28c30d646381380cf32e86ea4 /clang/lib/Serialization/ASTWriter.cpp
parentb196374f5353f5cbc07c9ada633881196b367fb5 (diff)
downloadbcm5719-llvm-c1ce4f58e6721662f4be5421660eeee8d5df11ee.tar.gz
bcm5719-llvm-c1ce4f58e6721662f4be5421660eeee8d5df11ee.zip
Hoist all of the type-specific trait logic for __is_standard_layout into
a Type method isStandardLayoutType, to keep our user API matching the type trait builtins as closely as possible. Also, implement it in terms of other Type APIs rather than in terms of other type traits. This models the implementation on that of isLiteralType and isTrivialType. There remain some common problems with these traits still, so this is a bit of a WIP. However, we can now fix all of these traits at the same time and in a consistent manner. llvm-svn: 130602
Diffstat (limited to 'clang/lib/Serialization/ASTWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud