summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExprCXX.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-05-01 06:51:22 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-05-01 06:51:22 +0000
commit8e172c60542d18dc72f901374053f04e247c1d68 (patch)
treeb4beb4e41a00865b632a25ed150eba0fae8a61cb /clang/lib/CodeGen/CGExprCXX.cpp
parentddc91b25e39cef2b25d4028a5b0f0832fef48ace (diff)
downloadbcm5719-llvm-8e172c60542d18dc72f901374053f04e247c1d68.tar.gz
bcm5719-llvm-8e172c60542d18dc72f901374053f04e247c1d68.zip
More cleanup of the type traits implementation.
1) Moved the completeness checking routine above the evaluation routine so the reader sees that we do in fact check for complete types when necessary. 2) Remove the FIXME comment about not doing this. 3) Make the arguments to the evaluate function agree in order with those to the completeness checking function. 4) Completely specify the enumerators for the completeness checking function rather than relying on a default. 5) Remove a check for the Borland language to only require complete types in a few places. Borland's own documentation doesn't agree with this: some of the previously unspecified traits *do* require a complete type, some don't. 6) Correctly split the traits which do not require complete types from those that do, clarifying comments and citations to the standard or other documentation where relevant. llvm-svn: 130641
Diffstat (limited to 'clang/lib/CodeGen/CGExprCXX.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud