Remove a stale comment, it no longer applied after my cleanups.

Also fix several misspellings in my comments. I cannot spell, and cannot
even be trusted to ask my editor how to spell apparently.

llvm-svn: 130662
This commit is contained in:
Chandler Carruth 2011-05-01 19:18:02 +00:00
parent 23f61a09af
commit a62d8a50e2
1 changed files with 5 additions and 8 deletions

View File

@ -2374,7 +2374,7 @@ static bool CheckUnaryTypeTraitTypeCompleteness(Sema &S,
switch (UTT) { switch (UTT) {
// is_complete_type somewhat obviously cannot require a complete type. // is_complete_type somewhat obviously cannot require a complete type.
case UTT_IsCompleteType: case UTT_IsCompleteType:
// Fallthrough // Fall-through
// These traits are modeled on the type predicates in C++0x // These traits are modeled on the type predicates in C++0x
// [meta.unary.cat] and [meta.unary.comp]. They are not specified as // [meta.unary.cat] and [meta.unary.comp]. They are not specified as
@ -2400,7 +2400,7 @@ static bool CheckUnaryTypeTraitTypeCompleteness(Sema &S,
case UTT_IsScalar: case UTT_IsScalar:
case UTT_IsCompound: case UTT_IsCompound:
case UTT_IsMemberPointer: case UTT_IsMemberPointer:
// Fallthrough // Fall-through
// These traits are modeled on type predicates in C++0x [meta.unary.prop] // These traits are modeled on type predicates in C++0x [meta.unary.prop]
// which requires some of its traits to have the complete type. However, // which requires some of its traits to have the complete type. However,
@ -2414,10 +2414,7 @@ static bool CheckUnaryTypeTraitTypeCompleteness(Sema &S,
return true; return true;
// C++0x [meta.unary.prop] Table 49 requires the following traits to be // C++0x [meta.unary.prop] Table 49 requires the following traits to be
// applied to a complete type, so we enumerate theme here even though the // applied to a complete type.
// default for non-Borland compilers is to require completeness for any
// other traits than the ones specifically allowed to work on incomplete
// types.
case UTT_IsTrivial: case UTT_IsTrivial:
case UTT_IsStandardLayout: case UTT_IsStandardLayout:
case UTT_IsPOD: case UTT_IsPOD:
@ -2425,9 +2422,9 @@ static bool CheckUnaryTypeTraitTypeCompleteness(Sema &S,
case UTT_IsEmpty: case UTT_IsEmpty:
case UTT_IsPolymorphic: case UTT_IsPolymorphic:
case UTT_IsAbstract: case UTT_IsAbstract:
// Fallthrough // Fall-through
// These trait expressions are designed to help implement predicats in // These trait expressions are designed to help implement predicates in
// [meta.unary.prop] despite not being named the same. They are specified // [meta.unary.prop] despite not being named the same. They are specified
// by both GCC and the Embarcadero C++ compiler, and require the complete // by both GCC and the Embarcadero C++ compiler, and require the complete
// type due to the overarching C++0x type predicates being implemented // type due to the overarching C++0x type predicates being implemented