[cfe-commits] r130057 - in /cfe/trunk: include/clang/AST/DeclCXX.h include/clang/AST/Type.h include/clang/Basic/TokenKinds.def include/clang/Basic/TypeTraits.h lib/AST/DeclCXX.cpp lib/AST/StmtPrinter.cpp lib/AST/Type.cpp lib/Lex/PPMacroExpansion.cpp lib/Parse/ParseExpr.cpp lib/Parse/ParseExprCXX.cpp lib/Parse/ParseTentative.cpp lib/Sema/SemaExprCXX.cpp test/SemaCXX/type-traits.cpp

Jonathan Sauer jonathan.sauer at gmx.de
Sat Apr 23 04:13:19 PDT 2011


Hello,

> Implement basic __is_trivial type-trait support, enough to close PR9472.

Great work!

> Ideas for more thorough test cases or any edge cases missing would be
> appreciated. =D

Maybe I'm overlooking something in the test file, but what about classes that would be trivial,
but that inherit from a non-trivial class and thus become non-trivial themselves? (the same would
go for __is_pod etc.) As far as I can see, that is currently not being tested.


Jonathan





More information about the cfe-commits mailing list