[cfe-commits] r130662 - /cfe/trunk/lib/Sema/SemaExprCXX.cpp
Chandler Carruth
chandlerc at gmail.com
Sun May 1 12:18:02 PDT 2011
Author: chandlerc
Date: Sun May 1 14:18:02 2011
New Revision: 130662
URL: http://llvm.org/viewvc/llvm-project?rev=130662&view=rev
Log:
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.
Modified:
cfe/trunk/lib/Sema/SemaExprCXX.cpp
Modified: cfe/trunk/lib/Sema/SemaExprCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaExprCXX.cpp?rev=130662&r1=130661&r2=130662&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaExprCXX.cpp (original)
+++ cfe/trunk/lib/Sema/SemaExprCXX.cpp Sun May 1 14:18:02 2011
@@ -2374,7 +2374,7 @@
switch (UTT) {
// is_complete_type somewhat obviously cannot require a complete type.
case UTT_IsCompleteType:
- // Fallthrough
+ // Fall-through
// These traits are modeled on the type predicates in C++0x
// [meta.unary.cat] and [meta.unary.comp]. They are not specified as
@@ -2400,7 +2400,7 @@
case UTT_IsScalar:
case UTT_IsCompound:
case UTT_IsMemberPointer:
- // Fallthrough
+ // Fall-through
// 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,
@@ -2414,10 +2414,7 @@
return true;
// 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
- // default for non-Borland compilers is to require completeness for any
- // other traits than the ones specifically allowed to work on incomplete
- // types.
+ // applied to a complete type.
case UTT_IsTrivial:
case UTT_IsStandardLayout:
case UTT_IsPOD:
@@ -2425,9 +2422,9 @@
case UTT_IsEmpty:
case UTT_IsPolymorphic:
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
// by both GCC and the Embarcadero C++ compiler, and require the complete
// type due to the overarching C++0x type predicates being implemented
More information about the cfe-commits
mailing list