summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-05-01 19:18:02 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-05-01 19:18:02 +0000
commita62d8a50e2f522096e560093dde0314a251d14cb (patch)
tree9628f44f5439862cd60c7c3b60f8f8d16046e5fb /clang/lib/Sema
parent23f61a09aff4a3c5ca4bba9410878dcfebf0656c (diff)
downloadbcm5719-llvm-a62d8a50e2f522096e560093dde0314a251d14cb.tar.gz
bcm5719-llvm-a62d8a50e2f522096e560093dde0314a251d14cb.zip
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
Diffstat (limited to 'clang/lib/Sema')
-rw-r--r--clang/lib/Sema/SemaExprCXX.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/clang/lib/Sema/SemaExprCXX.cpp b/clang/lib/Sema/SemaExprCXX.cpp
index 270ee298870..7f1bf596a23 100644
--- a/clang/lib/Sema/SemaExprCXX.cpp
+++ b/clang/lib/Sema/SemaExprCXX.cpp
@@ -2374,7 +2374,7 @@ static bool CheckUnaryTypeTraitTypeCompleteness(Sema &S,
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 @@ static bool CheckUnaryTypeTraitTypeCompleteness(Sema &S,
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 @@ static bool CheckUnaryTypeTraitTypeCompleteness(Sema &S,
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 @@ static bool CheckUnaryTypeTraitTypeCompleteness(Sema &S,
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
OpenPOWER on IntegriCloud