aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
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 /clang/lib/Frontend/CompilerInvocation.cpp
parentb077620c025b65d5782c666dabc9f5db286d40ec (diff)
downloadllvm-7623757cd015dfbbbdefbc7b911b09eccf860a73.zip
llvm-7623757cd015dfbbbdefbc7b911b09eccf860a73.tar.gz
llvm-7623757cd015dfbbbdefbc7b911b09eccf860a73.tar.bz2
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 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions