[cfe-commits] r60615 - in /cfe/trunk: include/clang/AST/ASTContext.h include/clang/AST/Expr.h include/clang/AST/Type.h lib/AST/ASTContext.cpp lib/AST/CFG.cpp lib/AST/Expr.cpp lib/AST/StmtIterator.cpp lib/AST/Type.cpp lib/AST/TypeSerialization.cpp lib/CodeGen/CodeGenTypes.cpp lib/Sema/SemaDecl.cpp lib/Sema/SemaExpr.cpp lib/Sema/SemaExprCXX.cpp lib/Sema/SemaStmt.cpp lib/Sema/SemaTemplate.cpp lib/Sema/SemaType.cpp test/SemaCXX/dependent-types.cpp test/SemaCXX/type-dependent-exprs.cpp

Douglas Gregor dgregor at apple.com
Wed Dec 10 13:18:24 PST 2008


On Dec 10, 2008, at 10:11 PM, Sebastian Redl wrote:

> Douglas Gregor wrote:
>>
>> I was starting to think that it would be great to have SemaCXX's  
>> directory structure reflect the structure of the standard itself,  
>> so SemaCXX/temp would be template chapter, SemaCXX/over would be  
>> overloading, etc. Eventually, we'll have to do something to break  
>> things up.
>>
> But as you point out in the cxx_status document, the complete  
> description of some features in C++ is spread pretty far. This may  
> make it hard to correctly sort tests into the appropriate place,  
> since they may end up testing various points of the standard.


Very true. I certainly don't expect the tests to test only the feature  
described in that section, but the tests in a section are written  
while reading that section and they target specific features describe  
there (using other features as necessary to trigger the right tests).  
Especially for negative tests, where we want to verify that the  
compiler complains about ill-formed code, we know where the tests  
should go.

	- Doug



More information about the cfe-commits mailing list