summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-04-30 10:31:50 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-04-30 10:31:50 +0000
commit7623757cd015dfbbbdefbc7b911b09eccf860a73 (patch)
tree52800d6fe1bc1de30211990f3186d5c6de48802c /llvm/lib/MC
parentb077620c025b65d5782c666dabc9f5db286d40ec (diff)
downloadbcm5719-llvm-7623757cd015dfbbbdefbc7b911b09eccf860a73.tar.gz
bcm5719-llvm-7623757cd015dfbbbdefbc7b911b09eccf860a73.zip
Switch the type-trait like APIs on the AST to only check for incomplete
types after looking through arrays. Arrays with an unknown bound seem to be specifically allowed in the library type traits in C++0x, and GCC's builtin __is_trivial returns 'true' for the type 'int[]'. Now Clang agrees with GCC about __is_trivial here. Also hardens these methods against dependent types by just returning false. llvm-svn: 130605
Diffstat (limited to 'llvm/lib/MC')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud